:root {
    --primary-gold: #D4AF37; /* Elegant Gold */
    --primary-blush: #F8E7E4; /* Soft Blush Pink */
    --text-dark: #333333;
    --text-light: #f0f0f0;
    --bg-light: #FFFFFF;
    --bg-dark: #1A1A1A;
    --accent-cream: #F5F5DC;
    --secondary-gold: #B8860B; /* Deeper Gold for accents */
    --border-light: #EEEEEE;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(0, 0, 0, 0.15);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;

    --header-height: 80px;
    --padding-section: 80px 0;
    --container-width: 1200px;
}

/* Base Styles & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 0.8em;
}

h1 { font-size: 3.5em; font-weight: 700; }
h2 { font-size: 2.8em; font-weight: 700; }
h3 { font-size: 2.0em; font-weight: 400; }
p { margin-bottom: 1em; }

a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-gold);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--padding-section);
}

.section-title {
    font-size: 3em;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-gold);
    border-radius: 2px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 30px;
}

.lead-text {
    font-size: 1.3em;
    font-weight: 300;
    color: #555;
    margin-bottom: 1.5em;
}

/* Header */
.main-header {
    background-color: var(--bg-light);
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-light);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.2em;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 1px;
    position: relative;
}

.logo:hover {
    color: var(--secondary-gold);
}

.main-nav .nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav .nav-list li a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05em;
    padding: 5px 0;
    position: relative;
    transition: all 0.3s ease;
}

.main-nav .nav-list li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-gold);
    transition: width 0.3s ease-in-out;
}

.main-nav .nav-list li a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none; /* Hidden by default, shown on smaller screens */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 1;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 85vh; /* viewport height */
    background: url('images/image_9.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    margin-top: var(--header-height); /* Offset for fixed header */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
}

.hero-title {
    font-size: 4.5em;
    color: var(--text-light);
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    line-height: 1.1;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.8em;
    font-weight: 300;
    color: var(--primary-blush);
    text-shadow: 1px 1px 5px rgba(0,0,0,0.4);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 30px var(--shadow-light);
    object-fit: cover;
    transform: translateY(0);
    transition: transform 0.6s ease-out, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-hover);
}

.about-content .section-title {
    text-align: left;
    margin-left: 0;
}

.about-content .section-title::after {
    left: 0;
    transform: translateX(0);
}

/* Services Section */
.bg-light-gradient {
    background: linear-gradient(145deg, var(--bg-light) 0%, var(--primary-blush) 100%);
    padding: var(--padding-section);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 25px var(--shadow-light);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-top: 5px solid var(--primary-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px var(--shadow-hover);
}

.service-icon {
    font-size: 3.5em;
    color: var(--primary-gold);
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8em;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    font-size: 1.05em;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 20px var(--shadow-light);
    transform: scale(1);
    transition: transform 0.4s ease;
}

.portfolio-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px var(--shadow-hover);
}

.portfolio-item img {
    width: 100%;
    height: 300px; /* Fixed height for consistent grid */
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(212,175,55,0.7), rgba(212,175,55,0.9));
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.4s ease;
    font-family: var(--font-heading);
    font-size: 1.8em;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    padding: 20px;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(145deg, var(--bg-dark) 0%, #303030 100%);
    color: var(--text-light);
    padding: var(--padding-section);
}

.testimonials-section .section-title::after {
    background-color: var(--primary-blush);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white */
    backdrop-filter: blur(5px); /* Subtle blur effect */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.testimonial-card .quote {
    font-family: var(--font-heading);
    font-size: 1.4em;
    font-style: italic;
    margin-bottom: 25px;
    color: var(--primary-blush);
    line-height: 1.5;
}

.testimonial-card cite {
    display: block;
    font-size: 1em;
    font-weight: 600;
    color: var(--primary-gold);
    margin-top: 15px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info .section-title {
    text-align: left;
    margin-left: 0;
}

.contact-info .section-title::after {
    left: 0;
    transform: translateX(0);
}

address {
    font-style: normal;
    margin-top: 25px;
    line-height: 1.8;
}

address p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

address p i {
    color: var(--primary-gold);
    margin-right: 15px;
    font-size: 1.3em;
}

.contact-info a {
    color: var(--primary-gold);
    font-weight: 600;
}

.contact-info a:hover {
    color: var(--secondary-gold);
}

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.social-links a {
    font-size: 1.8em;
    color: var(--text-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--border-light);
    box-shadow: 0 3px 10px var(--shadow-light);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-gold);
    color: var(--text-light);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 15px var(--shadow-hover);
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 30px var(--shadow-light);
    object-fit: cover;
}

/* Footer */
.main-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.main-footer p {
    margin: 0;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav-list {
    list-style: none;
    display: flex;
    gap: 25px;
}

.footer-nav-list li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.footer-nav-list li a:hover {
    color: var(--primary-gold);
}


/* Advanced Visual Effects - Reveal Animations */
[class^="reveal-"] {
    opacity: 1;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.9);
}

[class^="reveal-"].is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Gradients on elements (Subtle) */
.service-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, #fefefe 100%);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}
.testimonial-card {
    position: relative;
    overflow: hidden;
}
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}


/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 3.5em; }
    h2 { font-size: 2.2em; }
    h3 { font-size: 1.6em; }
    .section-title { font-size: 2.5em; }
    .hero-title { font-size: 3.5em; }
    .hero-subtitle { font-size: 1.5em; }

    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content, .contact-info {
        order: 2; /* Content after image on mobile */
    }
    .about-image, .contact-image {
        order: 1;
    }

    .about-content .section-title, .contact-info .section-title {
        text-align: center;
    }
    .about-content .section-title::after, .contact-info .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    .footer-nav-list {
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Show hamburger menu */
    }

    .main-nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-light);
        box-shadow: 0 5px 15px var(--shadow-light);
        border-top: 1px solid var(--border-light);
        transform: translateY(-100%);
        transition: transform 0.4s ease-in-out;
        z-index: 999;
    }

    .main-nav .nav-list {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        opacity: 1;
        pointer-events: none;
        transition: opacity 0.3s ease 0.1s;
    }

    .main-nav .nav-list.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .main-nav .nav-list li a {
        font-size: 1.2em;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    .main-nav .nav-list li a::after {
        left: 50%;
        transform: translateX(-50%);
        width: 0; /* Reset width to ensure hover works from middle */
    }

    .hero-section {
        height: 75vh;
    }
    .hero-title {
        font-size: 2.8em;
    }
    .hero-subtitle {
        font-size: 1.3em;
    }

    .section-padding {
        padding: 60px 0;
    }
    .section-title {
        font-size: 2em;
    }
    .section-subtitle {
        font-size: 1em;
    }

    .services-grid, .portfolio-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.8em;
    }
    .hero-section {
        height: 65vh;
    }
    .hero-title {
        font-size: 2.2em;
    }
    .hero-subtitle {
        font-size: 1.1em;
    }
    .section-title {
        font-size: 1.8em;
    }
    .lead-text {
        font-size: 1.1em;
    }
    .service-card, .testimonial-card {
        padding: 30px 20px;
    }
    .portfolio-item img {
        height: 200px;
    }
}

/* Visible state helpers */
+ .animate-fade-in-up.visible,
+ .animate-fade-in-left.visible,
+ .animate-fade-in-right.visible,
+ .animate-bounce-y.visible,
+ .section-scroll-animate.visible,
+ .text-animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}
