/* ============================================
   SURFACE SOUL DETROIT - STYLESHEET
   Premium Minimalistic Design 2026
   ============================================ */

/* Root Variables */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #f5f5f5;
    --accent-gold: #d4af37;
    --accent-blue: #1e3a5f;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --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;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
}

p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--accent-gold);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.header.sticky-header {
    position: sticky;
    top: 0;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

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

.header-cta {
    background-color: var(--accent-blue);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.header-cta:hover {
    background-color: var(--accent-gold);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 60px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7), rgba(30, 58, 95, 0.6));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    animation: fadeInUp 1s ease-out;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #ffffff;
}

.hero-subheadline {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: #e8e8e8;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #e8c547;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: var(--accent-blue);
    transform: translateY(-3px);
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: 6rem 0;
    background-color: #fafafa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

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

.service-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-gold));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 6rem 0;
    background-color: #ffffff;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
}

.badge svg {
    width: 40px;
    height: 40px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.badge span {
    font-weight: 600;
    color: var(--primary-color);
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */

.why-choose-us {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f5f5f5, #ffffff);
}

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

.why-item {
    padding: 2rem;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.why-item:nth-child(1) { animation-delay: 0.1s; }
.why-item:nth-child(2) { animation-delay: 0.2s; }
.why-item:nth-child(3) { animation-delay: 0.3s; }
.why-item:nth-child(4) { animation-delay: 0.4s; }
.why-item:nth-child(5) { animation-delay: 0.5s; }
.why-item:nth-child(6) { animation-delay: 0.6s; }

.why-item.reveal {
    opacity: 1;
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #ffffff;
}

.why-icon svg {
    width: 40px;
    height: 40px;
}

.why-item h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.why-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery {
    padding: 6rem 0;
    background-color: #fafafa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

.gallery-btn {
    background-color: var(--accent-gold);
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 6rem 0;
    background-color: #ffffff;
}

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

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    margin-bottom: 2rem;
    font-size: 1.05rem;
    color: var(--text-light);
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-item a {
    color: var(--accent-blue);
    font-weight: 500;
    transition: var(--transition);
}

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

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.map-container {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper {
    background-color: #fafafa;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-success {
    text-align: center;
    padding: 2rem;
    background-color: #e8f5e9;
    border-radius: 12px;
    border: 1px solid #c8e6c9;
    animation: fadeIn 0.5s ease-out;
}

.success-icon {
    font-size: 3rem;
    color: #4caf50;
    margin-bottom: 1rem;
}

.form-success h4 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: #558b2f;
    margin: 0;
}

/* ============================================
   MOBILE CTA
   ============================================ */

.mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--accent-blue);
    padding: 1rem;
    text-align: center;
    display: none;
    z-index: 999;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-cta-btn {
    display: block;
    background-color: var(--accent-gold);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.mobile-cta-btn:hover {
    transform: scale(1.05);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
}

.footer p {
    color: #cccccc;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.reveal {
    animation: fadeInUp 0.6s ease-out forwards !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    /* Header */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 1rem;
    }

    .header-cta {
        display: none;
    }

    /* Hero */
    .hero {
        height: 70vh;
        margin-top: 0;
    }

    .hero-headline {
        font-size: 2rem;
    }

    .hero-subheadline {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    /* Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    /* Services */
    .services {
        padding: 3rem 0;
    }

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

    /* About */
    .about {
        padding: 3rem 0;
    }

    .trust-badges {
        grid-template-columns: 1fr;
    }

    /* Why Choose Us */
    .why-choose-us {
        padding: 3rem 0;
    }

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

    /* Gallery */
    .gallery {
        padding: 3rem 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Contact */
    .contact {
        padding: 3rem 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    /* Mobile CTA */
    .mobile-cta {
        display: block;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }

    body {
        padding-bottom: 80px;
    }

    /* Container */
    .container {
        padding: 0 1rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Hero */
    .hero {
        height: 60vh;
    }

    .hero-headline {
        font-size: 1.5rem;
    }

    .hero-subheadline {
        font-size: 0.95rem;
    }

    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    /* Services */
    .service-card {
        padding: 1.5rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Trust Badges */
    .badge {
        flex-direction: column;
        text-align: center;
        border-left: none;
        border-top: 4px solid var(--accent-gold);
    }

    /* Contact */
    .contact-details {
        margin-bottom: 1.5rem;
    }

    .map-container {
        height: 250px;
    }

    /* Form */
    .form-group {
        margin-bottom: 1rem;
    }

    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .header,
    .mobile-cta,
    .hero-buttons,
    .contact-form-wrapper {
        display: none;
    }

    body {
        padding-bottom: 0;
    }
}
