:root {
    --primary: #e15047;
    /* Red Accent */
    --primary-dark: #c54039;
    --secondary: #0a2e2e;
    /* Dark Teal Background */
    --accent: #f8f5f0;
    --text: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #e0e0e0;
    --white: #ffffff;
    --glass: rgba(10, 46, 46, 0.8);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;

    /* Fonts from Screenshot */
    --font-script: "Arizonia", cursive;
    /* Alternative for Starlit Drive */
    --font-serif: "Butler", serif;
    --font-sans: "Mulish", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.gallery-overlay h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 0;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--white);
}

.logo .logo-initials {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding-right: 15px;
    line-height: 1;
}

.logo .logo-text {
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* Nav Styles */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: radial-gradient(circle at center, #1a4d4d 0%, #0a2e2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 120px 2rem 80px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: url(#grainy);
    opacity: 0.15;
    /* Subtle background grain */
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 1000px;
    position: relative;
    z-index: 10;
}

.hero-accent {
    font-family: var(--font-script);
    color: var(--primary);
    font-size: 8rem;
    line-height: 0.8;
    margin-bottom: -2rem;
    position: relative;
    z-index: 2;
    transform: rotate(-5deg);
    display: block;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: 5.5rem;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
    line-height: 1;
    position: relative;
    z-index: 3;
    /* Ensure it stays above the accent */
}

.hero p {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.trust-signal {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(225, 80, 71, 0.3);
    border-radius: 100px;
    padding: 0.8rem 2rem;
    font-family: var(--font-sans);
    letter-spacing: 0.5px;
}

a.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(225, 80, 71, 0.4);
}

/* Introduction Section */
.intro {
    padding: 100px 0;
    background: var(--accent);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    color: var(--secondary);
}

.intro-text p {
    color: var(--text-dark);
}

/* Services Section */
.services {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 5px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 5px solid var(--primary);
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* Process Section */
.process {
    padding: 100px 0;
    background: var(--secondary);
    color: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    opacity: 0.1;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.process-step h3 {
    margin-top: 2rem;
    color: var(--primary);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--accent);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 2rem 1.5rem;
    color: var(--text-dark);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-flex {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 2;
    min-width: 300px;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
}

/* Footer */
footer {
    padding: 50px 0;
    background: var(--secondary);
    color: var(--white);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Pricing Table */
.pricing {
    padding: 100px 0;
    background: var(--accent);
}

.pricing-table-container {
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.pricing-table th,
.pricing-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.pricing-table th {
    background: var(--secondary);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.2rem;
}

.pricing-table tr:hover {
    background: rgba(225, 80, 71, 0.05);
}

/* Transformation Section */
.transformation {
    padding: 100px 0;
    background: var(--white);
}

.before-after-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.before-after-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow);
    cursor: col-resize;
}

.before-after-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    box-shadow: none;
    pointer-events: none;
}

.before-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.before-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 1000px;
    /* Should match container max-width or be dynamic */
    height: 100%;
    object-fit: cover;
}

.after-img {
    z-index: 1;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--white);
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.slider-handle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 4px solid var(--primary);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e15047' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.transformation-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.detail-box {
    background: var(--accent);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary);
}

.detail-box h4 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
}

.detail-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 300px;
    }
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 46, 46, 0.95) 0%, rgba(10, 46, 46, 0.5) 60%, transparent 100%);
    padding: 2.5rem 2rem 2rem;
    color: var(--white);
}

/* Info Cards (Energy & Benefits) */
.info-section {
    padding: 100px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--primary);
}

.info-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.info-card ul {
    list-style: none;
    margin-top: 1rem;
}

.info-card li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.info-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Professional Image Frames */
img,
.intro-image div {
    border: 8px solid var(--white);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    /* Slight rounding for professional look */
    transition: var(--transition);
}

.intro-image div:hover,
.gallery-item:hover .gallery-img {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive Overhaul */
@media (max-width: 992px) {
    .hero h1 {
        font-size: clamp(3rem, 8vw, 5rem);
    }

    .hero-accent {
        font-size: clamp(5rem, 12vw, 8rem);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .intro-grid,
    .contact-flex,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero {
        padding: 100px 1rem 60px;
    }

    .pricing-table-container {
        margin: 0 -1rem;
    }

    .pricing-table,
    .pricing-table thead,
    .pricing-table tbody,
    .pricing-table th,
    .pricing-table td,
    .pricing-table tr {
        display: block;
    }

    .pricing-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .pricing-table tr {
        border: 1px solid #eee;
        margin-bottom: 2rem;
        background: var(--white);
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .pricing-table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        text-align: right;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .pricing-table td:last-child {
        border-bottom: none;
    }

    .pricing-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 1rem;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 700;
        color: var(--secondary);
    }

    .pricing-table th,
    .pricing-table td {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero-accent {
        font-size: 4rem;
        margin-bottom: 0;
    }
}