/* ============================================
   IMOLITE GLOBAL CO. — Editorial Style Sheet
   Palette: Charcoal (#1A1A1A) + Coral (#FF6B6B)
   Fonts: Lora (serif headlines) + Inter (sans body)
============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-charcoal: #1A1A1A;
    --color-charcoal-light: #2D2D2D;
    --color-charcoal-mid: #3D3D3D;
    --color-coral: #FF6B6B;
    --color-coral-dark: #E85555;
    --color-coral-light: #FF8E8E;
    --color-cream: #FAF8F5;
    --color-cream-dark: #F0EDE8;
    --color-white: #FFFFFF;
    --color-text: #1A1A1A;
    --color-text-light: #6B6B6B;
    --color-text-inverse: #FAF8F5;
    --color-border: #E0DCD6;
    
    --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-xxl: 8rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --shadow-sm: 0 1px 3px rgba(26,26,26,0.08);
    --shadow-md: 0 4px 20px rgba(26,26,26,0.1);
    --shadow-lg: 0 8px 40px rgba(26,26,26,0.12);
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    background: var(--color-coral);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
}

.skip-link:focus {
    top: var(--space-xs);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* --- Typography --- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-coral);
    margin-bottom: var(--space-sm);
    display: block;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-charcoal);
    margin-bottom: var(--space-md);
}

.lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--color-coral);
    color: var(--color-white);
    border-color: var(--color-coral);
}

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

.btn-outline-light {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-charcoal);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--color-charcoal);
    border-color: var(--color-charcoal);
}

.btn-outline-dark:hover {
    background: var(--color-charcoal);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-coral);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-coral);
    border-radius: var(--radius-sm);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-charcoal);
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-menu a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-charcoal);
    transition: color var(--transition);
    position: relative;
}

.nav-menu a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-coral);
    transition: width var(--transition);
}

.nav-menu a:not(.btn):hover::after {
    width: 100%;
}

.nav-menu a:not(.btn):hover {
    color: var(--color-coral);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-charcoal);
    position: relative;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--color-charcoal);
    transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.mobile-menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.88) 0%,
        rgba(26, 26, 26, 0.72) 50%,
        rgba(26, 26, 26, 0.55) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding-top: 80px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-coral);
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--color-white);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(250, 248, 245, 0.8);
    margin-bottom: var(--space-lg);
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(250, 248, 245, 0.6);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-scroll-indicator svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

/* --- Sections --- */
.section {
    padding: var(--space-xxl) 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-lg);
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-coral);
    border-radius: var(--radius-md);
    z-index: -1;
}

.about-content {
    padding: var(--space-md) 0;
}

.about-quote {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--color-charcoal);
    border-left: 3px solid var(--color-coral);
    padding-left: var(--space-md);
    margin: var(--space-md) 0;
}

.about-stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-coral);
}

.stat-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Services --- */
.services {
    background: var(--color-cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.service-card {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-coral);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 107, 0.1);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    color: var(--color-coral);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: var(--space-sm);
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

/* --- Why Us --- */
.why-us {
    background: var(--color-charcoal);
    color: var(--color-text-inverse);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.why-us-content .section-title {
    color: var(--color-white);
}

.why-us-content .lead {
    color: rgba(250, 248, 245, 0.7);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1rem;
    color: rgba(250, 248, 245, 0.9);
}

.feature-check {
    color: var(--color-coral);
    flex-shrink: 0;
}

.why-us-image {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.why-us-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* --- CTA Section --- */
.cta-section {
    background: var(--color-coral);
    padding: var(--space-xl) 0;
}

.cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-sm);
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.cta-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-lg);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
}

/* --- Contact --- */
.contact {
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.contact-info {
    padding: var(--space-md) 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.contact-item {
    display: flex;
    gap: var(--space-sm);
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 107, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-coral);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-charcoal);
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.contact-item a {
    color: var(--color-coral);
    transition: color var(--transition);
}

.contact-item a:hover {
    color: var(--color-coral-dark);
    text-decoration: underline;
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-cream);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.contact-form-wrapper h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: var(--space-xs);
}

.form-subtitle {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-charcoal);
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-coral);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-light);
}

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

.form-success {
    text-align: center;
    padding: var(--space-lg);
}

.form-success svg {
    color: var(--color-coral);
    margin-bottom: var(--space-sm);
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--color-text-light);
}

/* --- Footer --- */
.footer {
    background: var(--color-charcoal);
    color: var(--color-text-inverse);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-brand p {
    color: rgba(250, 248, 245, 0.6);
    font-size: 0.9375rem;
    margin-top: var(--space-sm);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(250, 248, 245, 0.6);
    transition: color var(--transition);
}

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

.footer-contact p {
    font-size: 0.9375rem;
    color: rgba(250, 248, 245, 0.6);
    line-height: 1.7;
}

.footer-contact a {
    color: var(--color-coral);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--color-coral-light);
    text-decoration: underline;
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-charcoal-mid);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(250, 248, 245, 0.4);
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 4rem;
        --space-xxl: 5rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--color-cream);
        border-bottom: 1px solid var(--color-border);
        padding: var(--space-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        box-shadow: var(--shadow-md);
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .nav-menu a {
        display: block;
        padding: 0.75rem 0;
        font-size: 1rem;
    }

    .nav-menu a:not(.btn)::after {
        display: none;
    }

    .hero-headline {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .about-grid,
    .why-us-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        order: -1;
    }

    .about-image-wrapper img {
        height: 350px;
    }

    .about-image-wrapper::before {
        top: -10px;
        left: -10px;
    }

    .about-stats {
        gap: var(--space-md);
    }

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

    .why-us-image img {
        height: 400px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

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

    .service-card {
        padding: var(--space-md);
    }

    .contact-form-wrapper {
        padding: var(--space-md);
    }

    .about-stats {
        flex-direction: column;
        gap: var(--space-sm);
    }
}
