/* ============================================
   BONA NAIL SALON — Custom Styles
   Classic & Elegant · Burgundy + Blush
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9f3;
}
::-webkit-scrollbar-thumb {
    background: #d8cfc7;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a08e83;
}

/* ---------- Navigation ---------- */
.nav-fixed {
    background: rgba(254, 253, 251, 0);
    backdrop-filter: blur(0px);
    transition: background 0.5s ease, backdrop-filter 0.5s ease, box-shadow 0.5s ease;
}

.nav-fixed.scrolled {
    background: rgba(254, 253, 251, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(123, 45, 59, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #7B2D3B;
    transition: width 0.3s ease;
}

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

.nav-logo-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #7B2D3B 0%, #a8253d 100%);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    flex-shrink: 0;
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

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

.mobile-menu-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.menu-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #7B2D3B;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}
#menuBtn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

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

.hero-img {
    will-change: transform;
}

.hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.hero-eyebrow {
    letter-spacing: 0.3em;
}

.hero-subtitle {
    max-width: 400px;
}

.hero-cta {
    gap: 1rem;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: #7B2D3B;
    color: #fefdfb;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 50px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.hero-btn-primary:hover {
    background: #5c1f2a;
    transform: translateY(-2px);
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: transparent;
    color: #f8c2ca;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid rgba(248, 194, 202, 0.4);
    border-radius: 50px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.hero-btn-secondary:hover {
    background: rgba(248, 194, 202, 0.1);
    border-color: #f8c2ca;
    transform: translateY(-2px);
}

/* Hero Image Frame */
.hero-image-frame {
    position: relative;
}

.hero-image-border {
    position: absolute;
    inset: 12px 0 0 12px;
    border: 1px solid rgba(248, 194, 202, 0.3);
    border-radius: 2px;
    pointer-events: none;
}

.hero-image {
    border-radius: 2px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.hero-image-accent {
    border-radius: 2px;
}

/* Scroll Indicator */
.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(248, 194, 202, 0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- Section Eyebrows & Titles ---------- */
.services-eyebrow,
.gallery-eyebrow,
.testimonials-eyebrow,
.about-eyebrow,
.contact-eyebrow,
.cta-eyebrow {
    letter-spacing: 0.3em;
}

.services-title,
.gallery-title,
.testimonials-title,
.about-title,
.contact-title,
.cta-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

/* ---------- Services ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    border-radius: 4px;
    overflow: hidden;
    background: #fefdfb;
    box-shadow: 0 2px 16px rgba(123, 45, 59, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(123, 45, 59, 0.12);
}

.service-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-card-img img {
    transform: scale(1.05);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(123, 45, 59, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-card-overlay {
    opacity: 1;
}

.service-card-content {
    padding: 1.5rem;
}

.service-card-number {
    font-family: 'Cormorant Garamond', Georgia, serif;
    line-height: 1;
}

.service-card-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.service-card-desc {
    line-height: 1.7;
}

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

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

.about-image-frame {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.about-image-frame img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image-accent {
    border-radius: 0 0 4px 0;
}

.about-content {
    padding: 0;
}

.about-text {
    line-height: 1.8;
}

.about-stat-number {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.about-stat-label {
    letter-spacing: 0.15em;
}

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

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

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

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(61, 19, 25, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-item--large {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery-item--large img {
    height: 100%;
    min-height: 400px;
}

.gallery-item--wide {
    grid-column: span 7;
}

.gallery-item--wide img {
    height: 100%;
    min-height: 200px;
}

.gallery-item:not(.gallery-item--large):not(.gallery-item--wide) img {
    height: 200px;
}

.gallery-item-label {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: #fefdfb;
    border-radius: 4px;
    padding: 2.5rem;
    box-shadow: 0 2px 16px rgba(123, 45, 59, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(123, 45, 59, 0.1);
}

.testimonial-quote {
    color: #f8c2ca;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.testimonial-divider {
    border: none;
    height: 1px;
}

.testimonial-author {
    letter-spacing: 0.1em;
}

/* ---------- CTA ---------- */
.cta-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.cta-text {
    line-height: 1.8;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 14px 36px;
    background: #fefdfb;
    color: #7B2D3B;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 50px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.cta-btn-primary:hover {
    background: #fdf0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 36px;
    background: transparent;
    color: #f8c2ca;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid rgba(248, 194, 202, 0.5);
    border-radius: 50px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.cta-btn-secondary:hover {
    background: rgba(248, 194, 202, 0.1);
    border-color: #f8c2ca;
    transform: translateY(-2px);
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.contact-detail-icon {
    color: #7B2D3B;
}

.contact-detail-value {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Contact Form */
.contact-form-card {
    background: #fefdfb;
    border-radius: 4px;
    padding: 2.5rem;
    box-shadow: 0 2px 16px rgba(123, 45, 59, 0.06);
}

.contact-form-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #eae4df;
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: #2d2724;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #beaea4;
}

.form-input:focus,
.form-textarea:focus {
    border-bottom-color: #7B2D3B;
}

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

.form-submit {
    width: 100%;
    padding: 14px;
    background: #7B2D3B;
    color: #fefdfb;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 50px;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.form-submit:hover {
    background: #5c1f2a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 45, 59, 0.2);
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
    text-align: center;
}

.form-success svg {
    color: #7B2D3B;
}

.form-success p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    color: #2d2724;
}

.hidden {
    display: none !important;
}

/* ---------- Footer ---------- */
.footer-logo-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #f8c2ca 0%, #f194a8 100%);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    flex-shrink: 0;
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

@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; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-frame img {
        height: 400px;
    }
    
    .gallery-item--large {
        grid-column: span 12;
        grid-row: span 1;
    }
    
    .gallery-item--large img {
        min-height: 300px;
    }
    
    .gallery-item--wide {
        grid-column: span 12;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item--large,
    .gallery-item--wide {
        grid-column: span 1;
    }
    
    .gallery-item:not(.gallery-item--large):not(.gallery-item--wide) img {
        height: 200px;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-title span {
        font-size: 2.5rem !important;
    }
    
    .hero-image-frame {
        display: none;
    }
    
    .about-image-frame img {
        height: 300px;
    }
    
    .contact-form-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-btn-primary,
    .hero-btn-secondary,
    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-cta {
        flex-direction: column;
    }
}
