@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Outfit:wght@400;600;700&display=swap');

:root {
    /* Colors */
    --primary: #22413E; /* Requested Dark Green */
    --primary-light: #325854;
    --accent: #547C50; /* Requested Medium Green */
    --accent-hover: #436340;
    --background: #ffffff;
    --foreground: #22413E;
    --muted: #f4f7f4;
    --muted-foreground: #5a7566;
    --border: #e1e9e3;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif; /* Wedding Elegant Font */
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Layout Containers */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
}

.section {
    padding: 5rem 0;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .header-actions .btn-primary {
        display: none;
    }
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-container .btn {
    padding: 0.5rem 1rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-light);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    overflow: hidden;
    margin-top: -80px;
    padding-top: 120px;
    background-color: var(--primary);
    background-image: url('../images/slider background.webp');
    background-blend-mode: multiply;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 0;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    padding-top: 120px;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    gap: 4rem;
}

.hero-slide .hero-content {
    flex: 1;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateX(0);
}

.hero-slide .hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.hero-slide.active .hero-image-wrapper {
    opacity: 1;
    transform: translateX(0);
}

.hero-slide .hero-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero h1 {
    font-size: 3.25rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Page Header Utility */
.page-header {
    height: 480px;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    margin-top: -80px;
    padding-top: 80px;
    background-color: var(--primary);
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
}

.page-header p {
    font-size: 1.25rem;
    max-width: 700px;
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
    .page-header {
        height: auto;
        min-height: 400px;
        padding-top: 120px;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .page-header p {
        font-size: 1.125rem;
        margin: 0 auto;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.3);
}

.btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

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

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    background: #f1f8f1;
    color: var(--primary);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.mobile-menu-toggle {
    display: none;
}

footer h4 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
}

footer p, footer li {
    color: var(--muted-foreground);
    margin-bottom: 0.875rem;
}

footer a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* About Section Styles */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--muted-foreground);
}

/* Contact Page Styles */
.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
    text-align: left;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--muted);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form-group {
    margin-bottom: 1.5rem;
}

.contact-form input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: white;
    font-family: var(--font-body);
    transition: var(--transition);
}

.contact-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(84, 124, 80, 0.1);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    color: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

h1 {
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.35rem, 4vw, 2.25rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 2.5rem !important;
        text-align: center;
    }

    .about-content h2 {
        font-size: 1.6rem;
    }

    .experience-badge {
        position: static;
        margin-top: 2rem;
        display: inline-block;
    }

    .hero {
        height: auto;
        min-height: 100vh;
    }

    .hero-slide .container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 3rem;
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-slide .hero-content {
        max-width: 100%;
    }

    .hero-slide .hero-image-wrapper {
        justify-content: center;
        width: 100%;
    }

    .hero-slide .hero-image-wrapper img {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--primary);
        cursor: pointer;
    }

    .header-actions .btn-primary {
        display: none; /* Hide in header on mobile */
    }
    
    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.875rem;
    }

    /* Contact Mobile Refinements */
    .contact-section .about-grid {
        text-align: left !important;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
