/* ========================================
   I Love Nails — Classic & Elegant Theme
   Charcoal + Coral Palette
======================================== */

:root {
    --charcoal: #2C2C2C;
    --charcoal-deep: #1A1A1A;
    --charcoal-light: #3D3D3D;
    --coral: #E07A5F;
    --coral-light: #E8987E;
    --coral-dark: #C4624A;
    --cream: #F5F0EB;
    --cream-light: #FAF7F4;
    --warm-white: #FEFCFA;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #7A7A7A;
    --border: #E8E0D8;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-sm: 0 2px 8px rgba(44, 44, 44, 0.06);
    --shadow-md: 0 8px 30px rgba(44, 44, 44, 0.1);
    --shadow-lg: 0 20px 60px rgba(44, 44, 44, 0.15);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--sans);
    color: var(--text-dark);
    background-color: var(--warm-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.2;
}

em {
    font-style: italic;
    color: var(--coral);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--coral);
    color: #fff;
    border-color: var(--coral);
}

.btn-primary:hover {
    background: var(--coral-dark);
    border-color: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--charcoal);
}

.btn-secondary:hover {
    background: var(--charcoal);
    color: #fff;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Section Tags */
.section-tag {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--charcoal);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-medium);
    max-width: 560px;
    margin: 0 auto;
}

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

/* ========================================
   NAVBAR
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(254, 252, 250, 0.97);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.navbar.scrolled .logo {
    color: var(--charcoal);
}

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

.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--text-medium);
}

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

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

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

.navbar.scrolled .nav-links a:hover {
    color: var(--coral);
}

.btn-nav {
    background: var(--coral) !important;
    color: #fff !important;
    padding: 10px 24px;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    background: var(--coral-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
    display: block;
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--charcoal);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO
======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.75) 0%,
        rgba(44, 44, 44, 0.55) 50%,
        rgba(224, 122, 95, 0.2) 100%
    );
    z-index: 1;
}

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

.hero-tagline {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--coral-light);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    color: #fff;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s 0.5s forwards;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeUp 0.8s 0.7s forwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 0.9s forwards;
}

.hero-buttons .btn-secondary {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.hero-buttons .btn-secondary:hover {
    background: #fff;
    color: var(--charcoal);
    border-color: #fff;
}

.scroll-indicator {
    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.6);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    animation: scrollPulse 2s infinite;
}

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

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

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

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

.about-images {
    position: relative;
    height: 600px;
}

.img-main {
    width: 75%;
    height: 75%;
    overflow: hidden;
    position: relative;
}

.img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 55%;
    overflow: hidden;
    border: 6px solid var(--warm-white);
}

.img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.about-badge {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    background: var(--coral);
    color: #fff;
    padding: 20px 24px;
    text-align: center;
    z-index: 2;
}

.badge-number {
    display: block;
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
}

.badge-text {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 4px;
}

.about-content {
    padding: 20px 0;
}

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

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

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

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

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

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

.service-card {
    background: var(--warm-white);
    padding: 48px 36px;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--coral);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--coral);
    border: 1px solid var(--border);
    border-radius: 50%;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--coral);
    color: #fff;
    border-color: var(--coral);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ========================================
   GALLERY
======================================== */
.gallery {
    padding: 120px 0;
    background: var(--warm-white);
}

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

.gallery-item {
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 44, 44, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    font-family: var(--serif);
    font-size: 1.4rem;
    color: #fff;
    font-style: italic;
    transform: translateY(10px);
    transition: var(--transition);
}

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

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

.gallery-item.large {
    grid-column: 1 / 6;
    grid-row: 1 / 3;
}

.gallery-item.tall {
    grid-column: 6 / 9;
    grid-row: 1 / 3;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(3),
.gallery-item:nth-child(5),
.gallery-item:nth-child(6) {
    grid-column: span 3;
    grid-row: 1;
}

.gallery-item:nth-child(5) {
    grid-row: 2;
}

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

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.85) 0%,
        rgba(44, 44, 44, 0.7) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-content .section-title {
    color: #fff;
    margin-bottom: 20px;
}

.cta-content .section-desc {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
}

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

.cta-buttons .btn-secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.cta-buttons .btn-secondary:hover {
    background: #fff;
    color: var(--charcoal);
    border-color: #fff;
}

/* ========================================
   CONTACT
======================================== */
.contact {
    padding: 120px 0;
    background: var(--cream);
}

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

.contact-desc {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 48px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    color: var(--coral);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background: var(--coral);
    color: #fff;
    border-color: var(--coral);
}

.contact-item h4 {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 6px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.contact-item a {
    color: var(--text-medium);
}

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--warm-white);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 2rem;
    color: var(--charcoal);
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream-light);
    border: 1px solid var(--border);
    outline: none;
    transition: var(--transition);
    -webkit-appearance: none;
    border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--coral);
    background: #fff;
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: #f0faf4;
    border: 1px solid #c8e6d2;
    color: #2d6a4f;
    margin-top: 16px;
}

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

.form-success svg {
    flex-shrink: 0;
    color: #2d6a4f;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--charcoal-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 20px;
}

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

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

.footer-links a:hover {
    color: var(--coral-light);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: var(--coral-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    flex-wrap: wrap;
    gap: 12px;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .about-grid {
        gap: 48px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(3, 220px);
    }
    
    .gallery-item.large {
        grid-column: 1 / 4;
        grid-row: 1 / 3;
    }
    
    .gallery-item.tall {
        grid-column: 4 / 7;
        grid-row: 1 / 3;
    }
    
    .gallery-item:nth-child(2) {
        grid-column: 1 / 4;
        grid-row: 3;
    }
    
    .gallery-item:nth-child(3) {
        grid-column: 4 / 7;
        grid-row: 3;
    }
    
    .gallery-item:nth-child(5) {
        display: none;
    }
    
    .gallery-item:nth-child(6) {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--charcoal-deep);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-images {
        height: 400px;
        order: 2;
    }
    
    .about-content {
        order: 1;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .service-card {
        padding: 36px 28px;
    }
    
    .gallery {
        padding: 80px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item {
        height: 220px;
    }
    
    .gallery-item.large,
    .gallery-item.tall {
        grid-column: span 1;
        grid-row: auto;
    }
    
    .cta-section {
        padding: 80px 0;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-badge {
        right: 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}
