:root {
    /* Sunset Palette */
    --color-sunset-red: #e04f35;
    --color-sunset-orange: #fca311;
    --color-sunset-yellow: #ffcb69;
    --color-palm-brown: #4a3b32;
    --color-palm-black: #1a1512;
    --color-warm-white: #fcfbf9;
    --color-sand: #f4f1ea;

    --font-heading: 'DM Serif Display', serif;
    --font-body: 'Inter', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --border-radius: 12px;
    --transition-speed: 0.3s;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-warm-white);
    color: var(--color-palm-black);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    /* Serif Display often looks better with normal weight */
    line-height: 1.1;
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 95%;
    /* Wider to push content more to the edges */
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* util classes */
.section {
    padding: var(--spacing-xl) 0;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
}

.btn-lg {
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
    background: var(--color-sunset-red);
    /* Keep solid color for CTA */
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-lg:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: #c94028;
}

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

.btn-primary:hover {
    background: var(--color-sunset-red);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--color-palm-black);
    color: var(--color-palm-black);
}

.btn-outline:hover {
    background: var(--color-sunset-red);
    border-color: var(--color-sunset-red);
    color: white;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    background: var(--color-sunset-red);
    color: white;
}

/* Subtle Moving Glow Effect */
@keyframes shine-flow {
    0% {
        left: -100%;
        opacity: 0;
    }

    5% {
        opacity: 0.3;
    }

    50% {
        left: 100%;
        opacity: 0.3;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

.btn-shine {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transform: skewX(-20deg);
    animation: shine-flow 4s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
    /* Behind text but over bg if handled correctly, or just use z-index 2 on text if needed */
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: background 0.4s ease, padding 0.4s ease;
    background: rgba(0, 0, 0, 0.1);
    /* Subtle initial tint for visibility */
    backdrop-filter: blur(2px);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    /* Translucent white */
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

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

.logo {
    font-family: var(--font-heading);
    /* Match hero title font */
    font-weight: 400;
    font-size: 1.8rem;
    /* Larger for better presence */
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    mix-blend-mode: difference;
    /* Ensures visibility on light/dark backgrounds */
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Adjust logo color on scrolled header if mix-blend-mode isn't desired perfectly */
.header.scrolled .logo {
    color: var(--color-palm-black);
    mix-blend-mode: normal;
}

.logo-img {
    height: 50px;
    width: auto;
    /* Maintain aspect ratio of the PNG */
    flex-shrink: 0;
    transition: filter 0.3s ease;
    /* Smooth transition for color change */
    filter: brightness(0) invert(1);
    /* Turns the dark PNG to pure White initially */
}

.header.scrolled .logo-img,
.process-page .header .logo-img {
    filter: none;
    /* Shows the original dark PNG color on light backgrounds */
}

.nav-list {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-list a {
    font-weight: 500;
    color: white;
    /* Initial white text for over video */
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header.scrolled .nav-list a {
    color: var(--color-palm-black);
}

.nav-list a:not(.btn):hover {
    color: var(--color-sunset-red);
}

.nav-list a:hover {
    opacity: 0.7;
}

.nav-link-contact {
    /* No longer a button, just a link styling specific if needed */
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-palm-black);
    transition: 0.3s;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align structure to left */
    color: white;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: -1;
}

.hero-content {
    z-index: 1;
    max-width: 900px;
    text-align: left;
    /* Left align text */
    padding-left: 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 7rem);
    /* Significantly bigger */
    margin-bottom: var(--spacing-md);
    line-height: 0.95;
    font-weight: 400;
    /* Regular weight for serif display looks classy */
}

/* .hero .btn inherits btn-lg */

/* About */
.about {
    background-color: white;
}

.about-container {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--color-sand);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-palm-black);
}

.about-quote {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--color-sunset-red);
    margin-bottom: var(--spacing-md);
    border-left: 4px solid var(--color-sunset-orange);
    padding-left: var(--spacing-sm);
    font-style: italic;
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: var(--spacing-md);
}

/* Packages */
.packages {
    background-color: var(--color-sand);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: var(--spacing-xl);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.package-card {
    background: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* About Actions */
.about-actions {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: 5rem;
    /* Increased breathing room even further */
    justify-content: center;
    /* Center the buttons */
    flex-wrap: wrap;
}

.btn-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    /* Slightly smaller than huge hero CTAs */
}

/* Packages */
.benefits {
    background-color: var(--color-sand);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.benefit-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    color: var(--color-sunset-orange);
    margin-bottom: var(--spacing-sm);
    display: flex;
    justify-content: center;
    align-items: center;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-palm-black);
}

.benefit-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}

/* Packages */
.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.package-card.recommended {
    border: 2px solid var(--color-sunset-orange);
    transform: scale(1.05);
}

.package-card.recommended:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge {
    display: none;
    /* Hide the recommended badge */
}

.package-header {
    border-bottom: 1px solid #eee;
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.package-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.5rem;
    color: var(--color-sunset-red);
    font-weight: 700;
}

.package-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.package-desc {
    margin-bottom: var(--spacing-sm);
    font-style: italic;
    color: #666;
    text-align: center;
}

.package-features {
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.package-features li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.package-features li::before {
    content: "✔";
    color: var(--color-sunset-red);
    position: absolute;
    left: 0;
}

.package-card .btn {
    width: 100%;
    text-align: center;
}

/* Contact */
.contact {
    background: white;
}

.contact-container {
    max-width: 800px;
    text-align: center;
}

.contact-header {
    margin-bottom: var(--spacing-lg);
}

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-sunset-orange);
}

/* Footer */
.footer {
    background: var(--color-palm-black);
    color: white;
    padding: var(--spacing-md) 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    /* Centered as requested */
    align-items: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}

.footer-logo {
    height: 30px;
    width: auto;
    filter: invert(1);
    /* Make black logo white if needed, or rely on png transparency */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: white;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .mobile-toggle {
        display: flex;
    }

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

/* Process Page Styles (Refined) */

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate-fade-up {
    opacity: 0;
    /* Start hidden */
    animation: fadeUp 0.8s ease-out forwards;
}

/* Stagger delays if you want via JS or nth-child, or just consistent fade */
.timeline-item:nth-child(1) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.6s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.8s;
}

/* Process Page Header Overrides */
.process-page .header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.process-page .logo {
    color: var(--color-palm-black);
    mix-blend-mode: normal;
}

.process-page .nav-list a {
    color: var(--color-palm-black);
}

.process-page .mobile-toggle .bar {
    background-color: var(--color-palm-black);
}

/* Hero */
.process-hero {
    padding: 180px 0 60px;
    background: var(--color-warm-white);
    text-align: left;
}

.process-headline {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6rem);
    color: var(--color-palm-black);
    line-height: 1;
    margin-bottom: var(--spacing-md);
    max-width: 1100px;
}

.process-headline .highlight {
    color: var(--color-sunset-red);
    font-style: italic;
}

.process-intro {
    font-size: 1.25rem;
    max-width: 600px;
    color: #555;
    line-height: 1.6;
}

/* Timeline Layout */
.process-timeline-section {
    background: var(--color-warm-white);
    /* Uniform with hero */
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    column-gap: var(--spacing-md);
    row-gap: var(--spacing-xl);
}

.timeline-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    position: relative;
    padding-top: var(--spacing-md);
}

/* The elegant number */
.step-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 0.8;
    color: var(--color-sunset-orange);
    opacity: 0.9;
    display: block;
    margin-bottom: 1rem;
}

/* The decorative line above */
.step-line {
    width: 100%;
    height: 1px;
    background: #eaeaea;
    position: absolute;
    top: 0;
    left: 0;
}

.step-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: var(--color-palm-black);
}

.step-info p {
    font-size: 1rem;
    color: #444;
    line-height: 1.5;
    max-width: 95%;
}

/* Minimal Contact Section */
.contact-minimal {
    background: var(--color-palm-black);
    color: white;
    padding: var(--spacing-xl) 0;
}

.contact-wrapper-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    flex-direction: column;
    text-align: center;
}

.contact-wrapper-centered h2 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    color: white;
    margin-bottom: 0.5rem;
    max-width: 900px;
}

.cta-group {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

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

.btn-outline-light:hover {
    background: white;
    color: var(--color-palm-black);
}

.contact-text p {
    font-size: 1.2rem;
    opacity: 0.8;
}

.contact-form-minimal {
    display: flex;
    gap: 10px;
    flex-grow: 1;
    max-width: 500px;
    margin-top: 0;
}

.contact-form-minimal input {
    flex-grow: 1;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
}

.contact-form-minimal .btn {
    border: none;
    white-space: nowrap;
}

.footer .logo-text {
    /* Removed in favor of .logo-footer structure */
    display: none;
}

.logo-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.logo-footer:hover {
    opacity: 0.8;
}

.logo-img-footer {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
    /* Ensure it's white */
}

/* Subtle Secondary Button */
.btn-ghost-light {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.btn-ghost-light:hover {
    border-color: white;
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-minimal {
        flex-direction: column;
    }

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

    .process-hero {
        padding-top: 140px;
    }
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Darkened background */
    backdrop-filter: blur(8px);
    /* Glassmorphism blur on background */
    z-index: 2000;
    /* Above header */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: var(--spacing-sm);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.modal-container {
    background: #fdfdfd;
    /* Warm white */
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    /* Nice springy effect */
    max-height: 90vh;
    overflow-y: auto;
    /* Scroll if screen is small */
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-palm-black);
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--color-sunset-red);
}

/* Header */
.modal-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.modal-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-palm-black);
}

.modal-header p {
    color: #666;
    font-size: 0.95rem;
}

/* Form Layout */
.modal-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.full-width {
    grid-column: span 2;
}

/* Inputs */
.modal-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-palm-black);
    font-size: 0.9rem;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--color-sunset-orange);
    box-shadow: 0 0 0 3px rgba(252, 163, 17, 0.1);
}

/* Select wrapper for custom arrow if needed, but default is often fine. 
   We can style it a bit more cleaner. */
.select-wrapper {
    position: relative;
}

/* Submit Button */
.modal-form .btn {
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .modal-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .full-width {
        grid-column: span 1;
    }

    .modal-container {
        padding: var(--spacing-md);
    }
}


/* Success Message State */
.modal-success {
    text-align: center;
    padding: var(--spacing-md) 0;
    animation: fadeUp 0.5s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--color-palm-black);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.success-icon svg {
    width: 40px;
    height: 40px;
}

.modal-success h3 {
    font-size: 2rem;
    color: var(--color-palm-black);
    margin-bottom: 0.5rem;
}

.modal-success p {
    color: #555;
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0 auto 1.5rem auto;
}