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

:root {
    --charcoal: #2a2a2a;
    --ivory: #f8f6f1;
    --gold: #c9a961;
    --brown: #8b7355;
    --teal: #2d4a4e;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--ivory);
    color: var(--charcoal);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.hamburger {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 30px;
    cursor: pointer;
    z-index: 1000;
    background: none;
    border: none;
    outline: none;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--ivory);
    transition: all 0.4s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.hamburger.scrolled span {
    background: var(--charcoal);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100vh;
    background: var(--teal);
    z-index: 999;
    transition: right 0.6s ease;
    padding: 100px 50px;
}

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

.nav-menu ul {
    list-style: none;
}

.nav-menu li {
    margin: 30px 0;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.4s ease;
}

.nav-menu.active li {
    opacity: 1;
    transform: translateX(0);
}

.nav-menu a {
    color: var(--ivory);
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: var(--gold);
    transform: translateX(10px);
}

.logo {
    position: fixed;
    top: 30px;
    left: 30px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ivory);
    z-index: 100;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.logo.scrolled {
    color: var(--charcoal);
}

section {
    min-height: 100vh;
    padding: 100px 50px;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--teal) 0%, var(--charcoal) 100%);
}

.hero-content {
    text-align: center;
    color: var(--ivory);
    z-index: 2;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
    animation: fadeInUp 1s ease forwards;
}

.hero p {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-bg-slider {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1);
}

.hero-slide.active {
    opacity: 0.3;
    /* Adjusted opacity to match previous overlay look */
    animation: kenBurns 15s infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

#text-morph {
    display: inline-block;
    min-width: 150px;
    /* Prevent layout shift */
    position: relative;
    color: var(--gold);
    transition: all 0.5s ease;
}

.morph-out {
    filter: blur(10px);
    opacity: 0;
    transform: translateY(10px);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header h2 {
    font-size: 3.5rem;
    color: var(--charcoal);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gold);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--brown);
    font-weight: 300;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 4/5;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease;
}

.gallery-item.visible {
    transform: translateY(0);
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.about-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-content h3 {
    font-size: 2.5rem;
    margin: 40px 0 20px;
    color: var(--teal);
}

.about-content p {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--brown);
    margin-bottom: 25px;
}

.about-images {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.about-images img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.about-images img:hover {
    transform: scale(1.02);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.contact-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-form {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--teal);
    color: var(--ivory);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.3);
}

.contact-info {
    margin-top: 50px;
    text-align: center;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.1rem;
    margin: 10px 0;
    color: var(--brown);
}

.social-icons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    width: 50px;
    height: 50px;
    background: var(--teal);
    color: var(--ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--gold);
    transform: translateY(-5px);
}

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

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

    .section-header h2 {
        font-size: 2.5rem;
    }

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

    .nav-menu {
        width: 100%;
    }

    .about-images {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px;
    }

    .logo {
        font-size: 1.3rem;
    }

    section {
        padding: 80px 30px;
    }
}

footer {
    text-align: center;
    padding: 50px 0;
    margin-top: 50px;
    background-color: var(--teal);
    color: var(--ivory);
}

footer p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

footer a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--ivory);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Testimonial Section */
#testimonials {
    background-color: var(--ivory);
    /* Or a slightly different shade if desired */
    position: relative;
    overflow: hidden;
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 300px;
    /* Reserve space */
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    opacity: 0;
    transition: all 0.8s ease-in-out;
    pointer-events: none;
    padding: 20px;
}

.testimonial-slide.active {
    opacity: 1;
    pointer-events: all;
}

.quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: var(--charcoal);
    margin-bottom: 30px;
    line-height: 1.4;
}

.testimonial-slide h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.role {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--brown);
    font-weight: 400;
}