/* style.css - Beyond Revive Premium Theme */

:root {
    /* Color Palette */
    --clr-navy: #0F172A; /* Deep modern navy */
    --clr-navy-light: #1E293B;
    --clr-white: #FFFFFF;
    --clr-light: #F8FAFC; /* Off-white for section contrast */
    --clr-orange: #EA580C; /* Premium orange accent */
    --clr-orange-hover: #C2410C;
    --clr-text-main: #334155;
    --clr-text-light: #64748B;
    --clr-border: #E2E8F0;

    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --section-pad: 6rem;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--clr-text-main);
    background-color: var(--clr-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--clr-navy);
    line-height: 1.2;
    font-weight: 600;
}

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

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.bg-light { background-color: var(--clr-light); }
.bg-navy { background-color: var(--clr-navy); }
.text-white { color: var(--clr-white) !important; }
.text-center { text-align: center; }

/* Typography Classes */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--clr-text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.light-text {
    color: #94A3B8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--clr-orange);
    color: var(--clr-white);
}

.btn-primary:hover {
    background-color: var(--clr-orange-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--clr-navy);
    color: var(--clr-navy);
}

.btn-outline:hover {
    background-color: var(--clr-navy);
    color: var(--clr-white);
}

.btn-glass {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--clr-white);
}

.btn-glass:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--clr-border);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-navy);
    letter-spacing: -0.05em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--clr-text-main);
}

.nav-links a:hover {
    color: var(--clr-orange);
}

.nav-cta {
    display: flex;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--clr-navy);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for nav */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.2) 100%);
}

.hero-content {
    color: var(--clr-white);
    max-width: 800px;
}

.hero-title {
    color: var(--clr-white);
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #E2E8F0;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

/* Before & After Slider */
.slider-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #ddd;
}

.image-before, .image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-before img, .image-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.image-before {
    z-index: 2;
    width: 50%; /* Initial position */
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 40px;
    transform: translateX(-50%);
    z-index: 3;
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-line {
    position: absolute;
    width: 4px;
    height: 100%;
    background-color: var(--clr-white);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.slider-button {
    width: 40px;
    height: 40px;
    background-color: var(--clr-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-navy);
    box-shadow: var(--shadow-md);
    position: relative;
}

.label {
    position: absolute;
    bottom: 20px;
    padding: 8px 16px;
    background: rgba(15, 23, 42, 0.7);
    color: white;
    font-weight: 600;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    z-index: 10;
}

.label-before { left: 20px; }
.label-after { right: 20px; }

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--clr-white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--clr-border);
}

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

.main-service {
    grid-column: 1 / -1;
    background: var(--clr-navy);
    color: var(--clr-white);
    border: none;
    text-align: center;
    padding: 4rem 2rem;
}

.main-service h3 {
    color: var(--clr-white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.main-service p {
    color: #E2E8F0;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.125rem;
}

.service-icon {
    color: var(--clr-orange);
    margin-bottom: 1.5rem;
}

.main-service .service-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Split Layout (Why Choose Us) */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-icon {
    color: var(--clr-orange);
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--clr-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-list h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.premium-placeholder img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
    object-fit: cover;
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
}

.step {
    position: relative;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--clr-orange);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.step-title {
    color: var(--clr-white);
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--clr-white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--clr-border);
}

.stars {
    color: #FBBF24;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.quote {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.author {
    font-weight: 600;
    color: var(--clr-navy);
}

/* About */
.about-text {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--clr-text-light);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius);
    background: var(--clr-white);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--clr-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question .icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: var(--transition);
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
    max-height: 500px;
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.info-blocks {
    margin-top: 3rem;
    display: grid;
    gap: 2rem;
}

.info-block h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.contact-link {
    color: var(--clr-orange);
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-form-container {
    background: var(--clr-white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--clr-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--clr-navy);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus {
    outline: none;
    border-color: var(--clr-orange);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.file-input {
    width: 100%;
    padding: 0.5rem 0;
}

/* Footer */
.footer {
    background-color: var(--clr-navy);
    color: #94A3B8;
    padding: 4rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1rem;
    max-width: 300px;
}

.footer h4 {
    color: var(--clr-white);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a:hover {
    color: var(--clr-white);
}

.footer-contact p, .footer-contact a {
    margin-bottom: 0.75rem;
    display: block;
}

.footer-contact a:hover {
    color: var(--clr-white);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
}

.social-icon:hover {
    background: var(--clr-orange);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a:hover {
    color: var(--clr-white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .split-layout {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 4rem;
    }
    
    .nav-links, .nav-cta {
        display: none; /* Hide for mobile by default, handled in JS */
    }
    
    .mobile-menu-btn {
        display: flex;
    }

    .navbar.menu-open .nav-links,
    .navbar.menu-open .nav-cta {
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 1rem 0;
    }

    .navbar.menu-open .nav-container {
        flex-wrap: wrap;
        height: auto;
    }
    
    .navbar.menu-open .nav-links {
        order: 3;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .navbar.menu-open .nav-cta {
        order: 4;
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .split-layout, .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
