:root {
    /* Color Palette */
    --bg-color: #F8F8F8;
    --bg-gradient: linear-gradient(135deg, #F8F8F8 0%, #E2E2E2 100%);
    --text-color: #111111;
    --text-light: #4D4D4D;
    --text-body: #4D4D4D;
    --medium-gray: #E2E2E2;
    --dark-gray: #333333;
    --primary-accent: #6A5ACD;
    --secondary-accent: #50C878;
    --light-accent: #A5D6A7;
    --primary-btn: #6A5ACD;
    --primary-btn-hover: #5848b3;
    --primary-btn-text: #FFFFFF;

    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --glass-blur: blur(20px);
    --glass-highlight: rgba(255, 255, 255, 0.8);

    /* Typography */
    --font-main: 'Outfit', sans-serif;
    --h1-size: 4.5rem;
    --h2-size: 3.5rem;
    --h3-size: 1.75rem;
    --body-size: 1.125rem;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 10rem 0;
    --gap: 3rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-family: var(--font-main);
    background: transparent;


    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

main {
    position: relative;
    z-index: 1;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

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

.section {
    padding: var(--section-padding);
}

.bg-soft {
    background-color: transparent;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-btn) 0%, #7B68EE 100%);
    color: var(--primary-btn-text);
    box-shadow: 0 8px 20px rgba(106, 90, 205, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    opacity: 1;
    background: linear-gradient(135deg, #5848b3 0%, #6A5ACD 100%);
    box-shadow: 0 12px 28px rgba(106, 90, 205, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.text-link {
    color: var(--primary-accent);
    border-bottom: 1px solid var(--primary-accent);
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}

.text-link:hover {
    opacity: 0.7;
}

/* Header */
.site-header {
    padding: 0.75rem 0;
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 100px;
    box-shadow:
        0 8px 32px 0 rgba(31, 38, 135, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.site-header .btn {
    border-radius: 100px;
    padding: 0.75rem 1.5rem;
}

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

.logo {
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

/* Hero */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 4rem;
    /* Account for header */
}

.hero-section h1 {
    font-size: var(--h1-size);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 800px;
    letter-spacing: -1px;
}

.hero-section p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

#hero-canvas {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Sections General */
.section-title {
    font-size: var(--h2-size);
    margin-bottom: 4rem;
    font-weight: 500;
    letter-spacing: -0.5px;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--gap);
}

/* Cards (Services) */
.card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--glass-shadow);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(106, 90, 205, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(106, 90, 205, 0.15);
    border-color: var(--glass-highlight);
}

.card:hover::before {
    opacity: 1;
}

.card h3 {
    font-size: var(--h3-size);
    margin-bottom: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--text-color), var(--primary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card p {
    color: var(--text-body);
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    position: relative;
}

/* Connector Line (Desktop) */
@media (min-width: 900px) {
    .process-steps::before {
        content: '';
        position: absolute;
        top: 3rem;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--primary-accent), transparent);
        opacity: 0.3;
        z-index: 0;
    }
}

.step {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    position: relative;
    z-index: 1;
    text-align: center;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-accent);
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    border-color: var(--primary-accent);
    box-shadow: 0 0 30px rgba(106, 90, 205, 0.3);
    color: var(--primary-btn);
}

.step h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step p {
    color: var(--text-body);
    font-size: 1.125rem;
    max-width: 300px;
    margin: 0 auto;
}

/* Work Showcase */
.work-card {
    background: transparent;
    border: none;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: none;
    position: relative;
    transition: transform 0.5s ease;
}

.work-card:hover {
    transform: translateY(-10px);
}

.work-preview {
    height: 500px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.diamond-lodge-preview {
    background: url('https://diamondlodgeequestrian.co.nz/1c343151-7fe3-4168-a816-61393ac13d57.jpeg');
    background-size: cover;
    background-position: center 20%;
    transition: transform 0.8s ease;
}

.work-card:hover .diamond-lodge-preview {
    transform: scale(1.05);
}

.preview-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    text-align: left;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.work-card:hover .preview-content {
    transform: translateY(0);
    opacity: 1;
}

.client-name {
    display: block;
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: -1px;
    font-family: var(--font-main);
    margin-bottom: 0.5rem;
}

.client-type {
    display: block;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

.work-info {
    padding: 2rem 1rem;
    text-align: center;
}

.work-info h3 {
    display: none;
    /* Hidden as it's in the preview now */
}

.work-blurb {
    color: var(--text-body);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

/* Pricing */
/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: center;
    /* Center vertically */
}

.pricing-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    text-align: left;
    box-shadow: var(--glass-shadow);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    height: auto;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(106, 90, 205, 0.15);
}

.pricing-card.popular {
    border: 1px solid var(--primary-accent);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    box-shadow: 0 30px 80px rgba(106, 90, 205, 0.2);
    transform: scale(1.05);
    z-index: 2;
}

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

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-accent), #7B68EE);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(106, 90, 205, 0.3);
    text-transform: uppercase;
}

.price-header {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 2rem;
    text-align: center;
}

.price-header h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
}

.price-setup {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-accent);
    background: linear-gradient(135deg, var(--primary-accent), #7B68EE);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.period {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-light);
    -webkit-text-fill-color: var(--text-light);
}

.price-features {
    margin: 0 0 3rem 0;
    padding: 0;
    flex-grow: 1;
}

.price-features li {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    font-size: 1.125rem;
    color: var(--text-body);
}

.price-features li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(80, 200, 120, 0.1);
    border-radius: 50%;
    color: var(--secondary-accent);
    font-weight: 700;
    margin-right: 1rem;
    font-size: 0.875rem;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--primary-btn);
    color: var(--primary-btn);
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary-btn) 0%, #7B68EE 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(106, 90, 205, 0.2);
    border-color: transparent;
}

/* Responsive adjustments for pricing */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-card.popular {
        transform: none;
        order: -1;
        /* Show popular first on mobile if desired, or keep natural order */
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
}

/* Footer */
.site-footer {
    padding: 8rem 0 4rem;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
}

.footer-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--text-color), var(--primary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info p {
    color: var(--text-body);
    margin-bottom: 3rem;
    font-size: 1.5rem;
    max-width: 500px;
    line-height: 1.4;
}

.email-link {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-accent);
    border-bottom: 3px solid var(--primary-accent);
    transition: all 0.3s ease;
    display: inline-block;
}

.email-link:hover {
    color: var(--primary-btn-hover);
    border-color: var(--primary-btn-hover);
    transform: translateX(10px);
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid white;
    border-radius: 40px;
    padding: 4rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: #F8F8F8;
    border: 2px solid transparent;
    border-radius: 16px;
    font-family: var(--font-main);
    font-size: 1.125rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-accent);
    background: white;
    box-shadow: 0 10px 30px rgba(106, 90, 205, 0.1);
    transform: translateY(-2px);
}

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

.btn-block {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
}


.footer-bottom-text {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 4rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Scroll Reveal Classes */
.scroll-hidden {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease, filter 1s ease;
}

.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --h1-size: 2.5rem;
        --h2-size: 2rem;
        --section-padding: 4rem 0;
    }

    .hero-section {
        min-height: auto;
        padding: 8rem 0 4rem;
    }

    .footer-content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary-btn);
    color: var(--primary-btn-text);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    background-color: #000;
}