/* ========================================
   TNT Fireworks — Custom Styles
   Charcoal + Coral | Clean Minimalist
   ======================================== */

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

:root {
    --charcoal-900: #1a1a1a;
    --charcoal-800: #2d2d2d;
    --charcoal-700: #3d3d3d;
    --charcoal-600: #555555;
    --charcoal-500: #6e6e6e;
    --charcoal-400: #8a8a8a;
    --charcoal-300: #b0b0b0;
    --charcoal-200: #d4d4d4;
    --charcoal-100: #ececec;
    --charcoal-50: #f7f7f7;
    --charcoal-white: #fafafa;
    
    --coral-600: #c94030;
    --coral-500: #E85D4A;
    --coral-400: #f07868;
    --coral-300: #f5a094;
    --coral-200: #fad4cf;
    --coral-100: #fdebeb;
    --coral-50: #fef6f5;
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--charcoal-800);
    background: var(--charcoal-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 250, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--charcoal-100);
    transition: transform 0.4s var(--ease-out-expo);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--charcoal-900);
}

.nav-logo-dot {
    color: var(--coral-500);
    font-weight: 300;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal-600);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--coral-500);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover {
    color: var(--charcoal-900);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--coral-500);
    border: 1px solid var(--coral-500);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--coral-500);
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle-line {
    width: 22px;
    height: 1.5px;
    background: var(--charcoal-800);
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active .nav-toggle-line:first-child {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active .nav-toggle-line:last-child {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* --- Mobile Menu --- */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(250, 250, 250, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out-expo);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--charcoal-800);
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--coral-500);
}

.mobile-phone {
    font-family: var(--font-sans);
    font-size: 1rem !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--coral-500) !important;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--charcoal-200);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px 2rem 4rem;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral-500);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--charcoal-900);
    margin-bottom: 1.75rem;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--coral-500);
}

.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--charcoal-600);
    max-width: 440px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
}

.btn-primary {
    background: var(--charcoal-900);
    color: white;
}

.btn-primary:hover {
    background: var(--coral-500);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--charcoal-700);
    border: 1px solid var(--charcoal-300);
}

.btn-ghost:hover {
    border-color: var(--charcoal-900);
    color: var(--charcoal-900);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--charcoal-200);
    font-size: 0.78rem;
    color: var(--charcoal-500);
    letter-spacing: 0.04em;
}

.hero-meta-sep {
    color: var(--coral-300);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 40%;
    border: 1px solid var(--coral-200);
    border-radius: 2px;
    z-index: -1;
}

.hero-floating-card {
    position: absolute;
    bottom: 2rem;
    left: -2.5rem;
    background: white;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--charcoal-100);
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    max-width: 260px;
}

.floating-card-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral-500);
    margin-bottom: 0.4rem;
}

.floating-card-text {
    font-size: 0.85rem;
    color: var(--charcoal-600);
    line-height: 1.5;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--charcoal-400);
}

.scroll-line {
    width: 40px;
    height: 1px;
    background: var(--charcoal-300);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--coral-500);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}

/* --- Section Shared --- */
.section-eyebrow {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral-500);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--charcoal-900);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

/* --- Services --- */
.services {
    padding: 8rem 0;
    background: var(--charcoal-white);
}

.services-header {
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--charcoal-100);
    border: 1px solid var(--charcoal-100);
}

.service-card {
    background: var(--charcoal-white);
    padding: 2.5rem;
    transition: all 0.4s var(--ease-out-expo);
}

.service-card:hover {
    background: var(--charcoal-50);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--coral-500);
}

.service-icon svg {
    stroke: var(--coral-500);
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--charcoal-900);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.service-desc {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--charcoal-600);
}

/* --- About --- */
.about {
    padding: 8rem 0;
    background: var(--charcoal-900);
    color: white;
}

.about .section-eyebrow {
    color: var(--coral-300);
}

.about .section-title {
    color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    overflow: hidden;
    border-radius: 2px;
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.about-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--charcoal-300);
    margin-bottom: 1.25rem;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--charcoal-700);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: white;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--charcoal-500);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--charcoal-700);
}

/* --- Gallery --- */
.gallery {
    padding: 8rem 0;
    background: var(--charcoal-white);
}

.gallery-header {
    margin-bottom: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 2px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item:nth-child(1) { grid-column: 1 / 8; grid-row: 1; }
.gallery-item:nth-child(2) { grid-column: 8 / 13; grid-row: 1; }
.gallery-item:nth-child(3) { grid-column: 1 / 5; grid-row: 2; }
.gallery-item:nth-child(4) { grid-column: 5 / 9; grid-row: 2; }
.gallery-item:nth-child(5) { grid-column: 9 / 13; grid-row: 2; }
.gallery-item:nth-child(6) { grid-column: 1 / 13; grid-row: 3; }

/* --- CTA Banner --- */
.cta-banner {
    padding: 7rem 0;
    background: var(--coral-50);
    border-top: 1px solid var(--coral-200);
    border-bottom: 1px solid var(--coral-200);
}

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

.cta-eyebrow {
    color: var(--coral-500);
}

.cta-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--charcoal-900);
    margin-bottom: 1.25rem;
}

.cta-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--charcoal-600);
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Contact --- */
.contact {
    padding: 8rem 0;
    background: var(--charcoal-white);
}

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

.contact-details {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-item-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--charcoal-400);
}

.contact-item-value {
    font-size: 1rem;
    font-weight: 400;
    color: var(--charcoal-800);
    line-height: 1.6;
}

.contact-link {
    color: var(--coral-500);
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--coral-600);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrap {
    background: var(--charcoal-50);
    border: 1px solid var(--charcoal-100);
    padding: 2.5rem;
    border-radius: 2px;
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--charcoal-900);
    margin-bottom: 2rem;
}

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

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

.form-input {
    width: 100%;
    padding: 0.85rem 0;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--charcoal-900);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--charcoal-200);
    outline: none;
    transition: border-color 0.3s ease;
    resize: none;
}

.form-input::placeholder {
    color: var(--charcoal-300);
}

.form-input:focus {
    border-bottom-color: var(--coral-500);
}

.form-textarea {
    min-height: 100px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--coral-100);
    border-radius: 2px;
    font-size: 0.9rem;
    color: var(--charcoal-800);
}

.form-success.show {
    display: flex;
}

.form-success svg {
    flex-shrink: 0;
    color: var(--coral-500);
}

/* --- Map --- */
.map-section {
    border-top: 1px solid var(--charcoal-100);
}

.map-container {
    filter: grayscale(0.6) contrast(1.1);
    transition: filter 0.4s ease;
}

.map-container:hover {
    filter: grayscale(0) contrast(1);
}

/* --- Footer --- */
.footer {
    background: var(--charcoal-900);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: white;
}

.footer-logo-dot {
    color: var(--coral-500);
}

.footer-tagline {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--charcoal-500);
    margin-top: 1rem;
    max-width: 280px;
}

.footer-heading {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--charcoal-400);
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--charcoal-400);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--charcoal-800);
}

.footer-bottom p {
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--charcoal-600);
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item:nth-child(1) { grid-column: 1 / 7; }
    .gallery-item:nth-child(2) { grid-column: 7 / 13; }
    .gallery-item:nth-child(3) { grid-column: 1 / 5; }
    .gallery-item:nth-child(4) { grid-column: 5 / 9; }
    .gallery-item:nth-child(5) { grid-column: 9 / 13; }
    .gallery-item:nth-child(6) { grid-column: 1 / 13; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding-top: 100px;
        padding-bottom: 6rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-floating-card {
        left: 1rem;
        bottom: 1rem;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-visual {
        order: -1;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-item:nth-child(1) { grid-column: 1 / 3; }
    .gallery-item:nth-child(2) { grid-column: 1 / 3; }
    .gallery-item:nth-child(3) { grid-column: 1 / 2; }
    .gallery-item:nth-child(4) { grid-column: 2 / 3; }
    .gallery-item:nth-child(5) { grid-column: 1 / 2; }
    .gallery-item:nth-child(6) { grid-column: 1 / 3; }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6) {
        grid-column: 1 / -1;
    }
}
