/* --- Global Styles & Variables --- */
:root {
    --primary-black: #0f0f0f;
    --background-dark: #121212;
    --accent-cyan: #00fff7;
    --secondary-red: #ff4a57;
    --text-light: #f1f1f1;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --glow-shadow: 0 0 5px var(--accent-cyan), 0 0 15px var(--accent-cyan), 0 0 25px var(--accent-cyan);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-weight: 700;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background-color: var(--accent-cyan);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: var(--glow-shadow);
}

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

/* --- Header & Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 255, 247, 0.2);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
}

.logo .accent {
    color: var(--accent-cyan);
    text-shadow: var(--glow-shadow);
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px var(--accent-cyan);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--primary-black);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 20px 0;
    border-top: 1px solid var(--accent-cyan);
}

.mobile-nav a {
    color: var(--text-light);
    text-decoration: none;
    padding: 15px;
    text-align: center;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a:hover {
    background-color: var(--accent-cyan);
    color: var(--primary-black);
}


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

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.particle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6) url('images/smoke-overlay.png'); /* Add a subtle smoke texture */
    background-size: cover;
    animation: slow-pan 60s linear infinite;
    z-index: -1;
}

@keyframes slow-pan {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.hero-content {
    z-index: 1;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 15px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 2rem;
    margin: 10px 0 40px;
    color: var(--accent-cyan);
    text-shadow: var(--glow-shadow);
    font-weight: 500;
}

.cta-button {
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 15px 35px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.4s ease;
    box-shadow: 0 0 10px rgba(0, 255, 247, 0.5);
}

.cta-button:hover {
    background: var(--accent-cyan);
    color: var(--primary-black);
    box-shadow: var(--glow-shadow);
    transform: translateY(-5px);
}

/* --- What We Build Section --- */
.what-we-build {
    padding: 80px 0;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--primary-black);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 20px rgba(0, 255, 247, 0.1);
}

.service-card i {
    font-size: 3rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    text-shadow: var(--glow-shadow);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* --- Before/After Gallery --- */
.before-after-gallery {
    padding: 80px 0;
    background: var(--primary-black);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.image-container {
    position: relative;
    width: 100%;
    padding-top: 66.66%; /* 3:2 aspect ratio */
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.image-container .after {
    opacity: 0;
}

.gallery-item:hover .image-container .after {
    opacity: 1;
}

.gallery-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .caption {
    transform: translateY(0);
}

/* --- Miami Vibe Callout --- */
.miami-vibe-callout {
    padding: 60px 0;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/miami-bg.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

.callout-title {
    font-size: 3rem;
    color: var(--secondary-red);
    text-shadow: 0 0 10px var(--secondary-red);
}

.miami-vibe-callout p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 20px auto 0;
}

/* --- Testimonials Section --- */
.testimonials {
    padding: 80px 0;
}

.testimonial-carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.testimonial-item {
    background: var(--primary-black);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--secondary-red);
    max-width: 500px;
}

.testimonial-car {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--accent-cyan);
    margin-bottom: 20px;
}

.testimonial-item blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin: 0 0 15px;
    border: none;
    padding: 0;
}

.testimonial-item cite {
    font-weight: 600;
    color: var(--accent-cyan);
}

/* --- CTA Strip --- */
.cta-strip {
    background: var(--secondary-red);
    padding: 30px 0;
}

.cta-strip-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cta-strip h3 {
    color: var(--primary-black);
    margin: 0;
    font-size: 1.8rem;
}

.cta-strip a {
    background: var(--primary-black);
    color: var(--text-light);
    padding: 10px 25px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.cta-strip a:hover {
    background: #000;
    color: var(--accent-cyan);
}

/* --- Footer --- */
.main-footer {
    background: var(--primary-black);
    padding: 60px 0 20px;
    border-top: 2px solid var(--accent-cyan);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent-cyan);
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-red);
}

.social-icons a {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-right: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-cyan);
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}


/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
    }
}


@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }
    
    .mobile-nav {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 12px 28px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .cta-strip-content {
        flex-direction: column;
        text-align: center;
    }
    .cta-strip h3 {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .footer-grid {
        text-align: center;
    }
    .social-icons {
        margin-top: 10px;
    }
}

/* --- Gallery Page Styles --- */
.gallery-page-main {
    padding: 120px 0 80px; /* Add padding to push content below the fixed header */
}

.filter-buttons {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(241, 241, 241, 0.5);
    color: var(--text-light);
    padding: 10px 25px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.filter-btn.active {
    background-color: var(--accent-cyan);
    color: var(--primary-black);
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-shadow);
}

.masonry-grid {
    column-count: 3;
    column-gap: 20px;
}

.gallery-grid-item {
    margin-bottom: 20px;
    break-inside: avoid; /* Prevents items from breaking across columns */
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-grid-item:hover {
    box-shadow: 0 10px 25px rgba(0, 255, 247, 0.15);
}

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

/* Lightbox Customization - Dark Theme */
.lightbox {
    background: rgba(15, 15, 15, 0.9);
}

.lb-data .lb-caption {
    color: var(--text-light);
    font-family: var(--font-body);
}

.lb-data .lb-number {
    color: #999;
}

.lb-nav a.lb-prev, .lb-nav a.lb-next {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lb-nav a.lb-prev:hover, .lb-nav a.lb-next:hover {
    opacity: 1;
}

.lb-close {
    filter: grayscale(1) invert(1);
    opacity: 0.8;
}

/* Responsive adjustments for the grid */
@media (max-width: 992px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .masonry-grid {
        column-count: 1;
    }
}

/* --- Services Page Styles --- */
.services-page-main {
    padding: 120px 0 80px; /* Adjust padding for fixed header */
}

.section-subtitle {
    font-size: 1.1rem;
    color: #bbb;
    max-width: 800px;
    margin: -20px auto 50px auto;
}

.accordion-container {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--primary-black);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden; /* Important for smooth collapse */
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: rgba(0, 255, 247, 0.05);
}

.accordion-header .header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.accordion-header i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    min-width: 30px; /* Ensures alignment */
    text-align: center;
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.4rem;
}

.toggle-icon {
    transition: transform 0.3s ease-in-out;
}

.toggle-icon.rotate-180 {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 25px 25px 25px; /* Padding applied when open */
    color: #ccc;
    border-top: 1px solid rgba(0, 255, 247, 0.2);
    margin: 0 25px;
}

.accordion-content p {
    margin-top: 20px;
    line-height: 1.7;
}

.accordion-content ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.accordion-content ul li {
    position: relative;
    padding-left: 25px;
}

.accordion-content ul li::before {
    content: '\f058'; /* FontAwesome check-circle icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-cyan);
    position: absolute;
    left: 0;
    top: 2px;
}

.service-page-cta {
    margin-top: 60px;
    padding: 40px;
    border: 1px dashed var(--accent-cyan);
    border-radius: 8px;
}

.service-page-cta h3 {
    font-size: 2rem;
    color: var(--accent-cyan);
    text-shadow: var(--glow-shadow);
}

.service-page-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Responsive adjustments for accordion content */
@media (max-width: 576px) {
    .accordion-content ul {
        grid-template-columns: 1fr;
    }
    .accordion-header h3 {
        font-size: 1.2rem;
    }
}

/* --- About Page Styles --- */
.about-page-main {
    padding-top: 80px; /* Height of the fixed header */
}

/* Parallax Section */
.parallax-section {
    position: relative;
    padding: 120px 0;
    background-image: url('images/shop-bg.jpg'); /* <<< ADD A SHOP BACKGROUND IMAGE HERE */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.75); /* Dark overlay for readability */
}

.parallax-section .container {
    position: relative; /* To be on top of the overlay */
    z-index: 2;
}

.brand-story-title {
    font-size: 3.5rem;
    color: var(--accent-cyan);
    text-shadow: var(--glow-shadow);
    margin-bottom: 20px;
}

.brand-story-text {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Timeline Section */
.timeline-section {
    padding: 80px 0;
    background-color: var(--background-dark);
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--accent-cyan);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    box-shadow: 0 0 10px var(--accent-cyan);
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

/* Place items on the left side */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

/* Place items on the right side */
.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.5rem;
    background-color: var(--secondary-red);
    color: var(--text-light);
    border-radius: 50%;
    text-align: center;
    top: 20px;
    z-index: 10;
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -25px; /* (50px / 2) */
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -25px; /* (50px / 2) */
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--primary-black);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-content h3 {
    color: var(--accent-cyan);
    margin-top: 0;
}

/* Culture Callout Section */
.culture-callout {
    padding: 80px 0;
    background: var(--primary-black);
}

.culture-callout h2 {
    font-size: 4rem;
    margin: 0;
    line-height: 1.2;
}

.culture-callout .accent-text {
    color: var(--secondary-red);
    text-shadow: 0 0 10px var(--secondary-red);
}

.culture-callout p {
    max-width: 600px;
    margin: 20px auto 0;
    font-size: 1.1rem;
    color: #ccc;
}


/* Responsive adjustments for the timeline */
@media (max-width: 768px) {
    .timeline-container::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align: left !important;
    }
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-icon {
        left: 6px !important;
    }
    .brand-story-title, .culture-callout h2 {
        font-size: 2.5rem;
    }
}

/* --- Contact Page Styles --- */
.contact-page-main {
    padding: 120px 0 80px;
    background-color: var(--background-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
    align-items: flex-start;
}

/* Contact Form */
.contact-form-container {
    background: var(--primary-black);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: var(--background-dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 5px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 8px rgba(0, 255, 247, 0.5);
}

.form-submit-button {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
}

/* Contact Info */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-item i {
    font-size: 1.8rem;
    color: var(--accent-cyan);
    margin-top: 5px;
    min-width: 30px;
}

.contact-info-item h4 {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    color: var(--text-light);
}

.contact-info-item p {
    margin: 0;
    color: #ccc;
}

.contact-info-item a {
    color: var(--secondary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--accent-cyan);
}

.contact-socials {
    margin-top: 40px;
}

.contact-socials h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Map */
.map-container {
    margin-top: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--accent-cyan);
    box-shadow: var(--glow-shadow);
}

.map-container iframe {
    display: block; /* Removes bottom space */
}

/* Footer on Contact Page */
contact.html-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--background-dark); /* Match page background */
    padding: 20px 0;
}

/* Responsive adjustments for contact page */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}