/* ============================================
   Gossip Nails & Spa - Brand Colors
   Midnight Blue: #0D1B2A
   Mint: #2EC4B6
   ============================================ */

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

:root {
    --midnight: #0D1B2A;
    --midnight-light: #1B2D42;
    --midnight-dark: #070F18;
    --mint: #2EC4B6;
    --mint-light: #4DD9CC;
    --mint-dark: #23A094;
    --cream: #F8F7F4;
    --cream-dark: #EDEBE6;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-light: #6B7280;
    --text-muted: #9CA3AF;
    --shadow-sm: 0 2px 8px rgba(13, 27, 42, 0.08);
    --shadow-md: 0 8px 30px rgba(13, 27, 42, 0.12);
    --shadow-lg: 0 20px 60px rgba(13, 27, 42, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(46, 196, 182, 0.1);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(13, 27, 42, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.logo-icon {
    color: var(--mint);
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mint);
    transition: var(--transition);
}

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

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

.nav-cta {
    background: var(--mint) !important;
    color: var(--midnight) !important;
    padding: 10px 24px !important;
    border-radius: 100px !important;
    font-weight: 500 !important;
    transition: var(--transition) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--mint-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 196, 182, 0.3);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

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

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--midnight);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    padding: 8px;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-link {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    transition: var(--transition);
}

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

.mobile-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--mint);
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 16px;
    padding: 16px 32px;
    border: 2px solid var(--mint);
    border-radius: 100px;
    transition: var(--transition);
}

.mobile-cta:hover {
    background: var(--mint);
    color: var(--midnight);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--midnight);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 27, 42, 0.95) 0%,
        rgba(13, 27, 42, 0.8) 50%,
        rgba(13, 27, 42, 0.9) 100%
    );
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(46, 196, 182, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(46, 196, 182, 0.05) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.hero-eyebrow {
    color: var(--mint);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-accent {
    color: var(--mint);
    font-style: italic;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--mint);
    color: var(--midnight);
}

.btn-primary:hover {
    background: var(--mint-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(46, 196, 182, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--mint);
    color: var(--mint);
}

.btn-white {
    background: var(--white);
    color: var(--midnight);
}

.btn-white:hover {
    background: var(--cream);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

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

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--mint), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-eyebrow {
    color: var(--mint);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    color: var(--midnight);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
}

.title-accent {
    color: var(--mint-dark);
    font-style: italic;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: 120px 0;
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(46, 196, 182, 0.2);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--mint), var(--mint-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 24px;
}

.service-name {
    color: var(--midnight);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--white);
}

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

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 24px;
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--midnight);
    color: var(--white);
    padding: 24px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.badge-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
}

.about-content {
    max-width: 500px;
}

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

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--midnight);
    font-weight: 500;
    font-size: 0.95rem;
}

.feature svg {
    color: var(--mint);
    flex-shrink: 0;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery {
    padding: 120px 0;
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 27, 42, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay span {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.gallery-item:nth-child(1) {
    grid-column: 1 / 6;
    grid-row: 1 / 3;
}

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

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

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

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    padding: 120px 0;
    background: var(--midnight);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--midnight-light);
    padding: 40px 32px;
    border-radius: 20px;
    border: 1px solid rgba(46, 196, 182, 0.1);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(46, 196, 182, 0.3);
    transform: translateY(-4px);
}

.testimonial-quote {
    color: var(--mint);
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 16px;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--mint), var(--mint-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
}

.author-name {
    color: var(--white);
    font-weight: 500;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--mint-dark), var(--mint));
    text-align: center;
}

.cta-eyebrow {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.cta-title {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 20px;
}

.cta-title .title-accent {
    color: var(--midnight);
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 40px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--cream);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint-dark);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    color: var(--midnight);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;
}

.contact-value:hover {
    color: var(--mint-dark);
}

.contact-map {
    border-radius: 24px;
    overflow: hidden;
    height: 480px;
    box-shadow: var(--shadow-md);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--midnight-dark);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.footer-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--mint);
    font-weight: 500;
    transition: var(--transition);
}

.footer-phone:hover {
    color: var(--mint-light);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-img {
        height: 400px;
    }
    
    .about-badge {
        right: 0;
        bottom: -20px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item:nth-child(1) {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 300px;
    }
    
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
        min-height: 200px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid .testimonial-card:last-child {
        max-width: none;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-map {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .services,
    .about,
    .gallery,
    .testimonials,
    .cta,
    .contact {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .service-card {
        padding: 32px 24px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item:nth-child(1) {
        grid-column: auto;
    }
}

/* ============================================
   Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--mint);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .nav,
    .mobile-menu,
    .hero-scroll {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 0;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
