/* ==========================================
   Sadeh Studio - Stylesheet
   ========================================== */

/* CSS Variables - Easy to customize colors */
:root {
    --color-primary: #2d3748;      /* Dark blue-gray */
    --color-secondary: #4a5568;    /* Medium gray */
    --color-accent: #3182ce;       /* Blue accent */
    --color-light: #f7fafc;        /* Light background */
    --color-white: #ffffff;
    --color-text: #2d3748;
    --color-text-light: #718096;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #2c5aa0;
    color: var(--color-white);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background-color: transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
    filter: invert(1) brightness(2);
    mix-blend-mode: screen;
    transition: filter 0.3s ease, mix-blend-mode 0.3s ease;
}

.navbar.scrolled .logo img {
    filter: none;
    mix-blend-mode: normal;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--color-white);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-links a {
    color: var(--color-text);
}

.nav-links a:hover {
    color: var(--color-accent);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

.navbar.scrolled .mobile-menu-btn span {
    background-color: var(--color-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('images/24c5c571-aa2e-4813-bd2a-7da2f2759cf3.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-white);
    padding: 120px 24px 80px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto 60px;
}

/* About Section */
.about {
    background-color: var(--color-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
}

.member-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-photo {
    background: linear-gradient(135deg, var(--color-light) 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #a8d8e8 0%, #1a3a4a 100%);
}

.services h2 {
    color: var(--color-white);
}

.services .section-intro {
    color: rgba(255, 255, 255, 0.85);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.service-category {
    background: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.service-category h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.service-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-light);
    color: var(--color-secondary);
}

.service-list li:last-child {
    border-bottom: none;
}

/* Work/Portfolio Section */
.work {
    background-color: var(--color-white);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.work-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.work-image {
    height: 250px;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-image {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
}

.work-info {
    padding: 24px;
}

.work-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.work-category {
    color: var(--color-accent);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 12px;
}

/* Clients Section */
.clients {
    background-color: var(--color-light);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
}

.client-logo {
    padding: 30px;
    background: var(--color-white);
    border-radius: 8px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.placeholder-logo {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

/* Contact Section */
.contact {
    background-color: var(--color-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.contact-form {
    background: var(--color-light);
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: var(--font-main);
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.contact-form .btn {
    width: 100%;
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 30px 0;
    text-align: center;
}

.footer p {
    opacity: 0.8;
}

/* ==========================================
   Responsive Design
   ========================================== */

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .services-grid,
    .work-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--color-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--color-white);
        font-size: 1.25rem;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .clients-grid {
        grid-template-columns: 1fr 1fr;
    }
}
