/* Variables & Typography */
:root {
    /* Premium Business Palette */
    --clr-bg: #FCFCFA; /* Very soft ivory/white */
    --clr-bg-alt: #F4F2EC; /* Light warm gray */
    --clr-text: #1A1A1A; /* Charcoal almost black */
    --clr-text-light: #5A5A5A; /* Dark gray */
    
    /* Elegant Gold/Bronze for accents */
    --clr-primary: #C5A059; 
    --clr-primary-hover: #A88644;
    --clr-border: #E8E5DF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--clr-text);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

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

.navbar.scrolled .nav-links .nav-btn {
    border-color: var(--clr-text);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

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

.nav-btn {
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 4px;
}

.nav-btn:hover {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    color: #fff !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 2px;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: #fff;
    border: 1px solid var(--clr-primary);
}

.btn-primary:hover {
    background-color: var(--clr-primary-hover);
    border-color: var(--clr-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-text);
    border: 1px solid var(--clr-text);
}

.btn-outline:hover {
    background-color: var(--clr-text);
    color: #fff;
}

.btn-outline-light {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
    background-color: #fff;
    color: var(--clr-text);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('assets/hero_bread.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.85));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 900px;
    padding: 0 20px;
    margin-top: 50px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--clr-primary);
    color: var(--clr-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 25px;
    border-radius: 50px;
}

.hero-title {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    margin-bottom: 10px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: #E8E5DF;
    letter-spacing: 1px;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* About Section */
.about {
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: var(--clr-text);
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--clr-text-light);
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--clr-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--clr-primary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-text-light);
    font-weight: 600;
}

.about-image img {
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

/* Services Section */
.services {
    padding: 120px 0;
    background-color: var(--clr-bg-alt);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: #fff;
    padding: 60px 50px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
    border: 1px solid var(--clr-border);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    border-color: var(--clr-primary);
}

.service-header {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 25px;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--clr-primary);
    opacity: 0.5;
}

.service-card h3 {
    font-size: 1.8rem;
}

.service-description {
    color: var(--clr-text-light);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.service-list {
    list-style: none;
}

.service-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--clr-text-light);
    font-size: 0.95rem;
}

.service-list li::before {
    content: '—';
    color: var(--clr-primary);
    position: absolute;
    left: 0;
    font-weight: 600;
}

/* Cases / Expertise Section */
.cases {
    padding: 120px 0;
    background-color: var(--clr-text);
    color: #fff;
    background-image: linear-gradient(rgba(26,26,26,0.9), rgba(26,26,26,0.9)), url('assets/hero_bread.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cases-content {
    max-width: 800px;
    margin: 0 auto;
}

.cases-content h2 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 30px;
}

.cases-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
}

.cases-list {
    list-style: none;
}

.cases-list li {
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 1.05rem;
    color: rgba(255,255,255,0.9);
}

.cases-list li strong {
    color: var(--clr-primary);
    font-weight: 600;
    margin-right: 10px;
    font-size: 1.1rem;
}

/* CTA */
.cta {
    padding: 120px 0;
    text-align: center;
}

.cta-container h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.cta-container p {
    font-size: 1.1rem;
    color: var(--clr-text-light);
    margin-bottom: 50px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.contact-direct {
    color: var(--clr-text-light);
    font-size: 0.95rem;
}

.contact-direct a {
    color: var(--clr-text);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-direct a:hover {
    color: var(--clr-primary);
}

/* Footer */
footer {
    background-color: #111;
    color: rgba(255,255,255,0.6);
    padding: 60px 0 40px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
    margin-bottom: 30px;
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-brand p {
    max-width: 300px;
    font-size: 0.9rem;
}

.footer-links {
    text-align: right;
    font-size: 0.85rem;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .hero-title {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile fix for now */
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .hero-title {
        font-size: 3rem;
    }
    .footer-grid {
        flex-direction: column;
        gap: 30px;
        text-align: left;
    }
    .footer-links {
        text-align: left;
    }
}
