/*
  Theme Name: Urban Cut Studio Demo
  Author: Gemini Code Assist for WebLite
  Description: Dark/Neon Urban theme for a hair studio.
*/

:root {
    --bg-main: #020617;
    --bg-secondary: #0f172a;
    --accent-pink: #ec4899;
    --accent-cyan: #22d3ee;
    --accent-purple: #a855f7;
    --glass-bg: rgba(15, 23, 42, 0.6);
    --border-glass: rgba(148, 163, 184, 0.2);
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --font-family: 'Heebo', sans-serif;
}

/* --- GENERAL & SETUP --- */
body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-family);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-main);
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-pink);
}

.section-padding {
    padding: 80px 0;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent-pink);
    color: white;
    padding: 10px;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 10px;
}

/* --- GLASSMORPHISM CARD --- */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-glass);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* --- BUTTONS --- */
.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 500;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-primary.btn-neon {
    background-image: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
    color: white;
    border: none;
    background-size: 200% auto;
}

.btn-primary.btn-neon:hover {
    background-position: right center;
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--accent-cyan), 0 0 30px var(--accent-pink);
}

.btn-secondary {
    background: transparent;
    border-color: var(--text-main);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: var(--text-main);
    color: var(--bg-main);
    border-color: var(--text-main);
}

/* --- HEADER & NAVBAR --- */
#header {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
    transition: all 0.3s;
    padding: 15px 0;
}

#header.header-scrolled {
    background: rgba(2, 6, 23, 0.9);
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--text-main);
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar li {
    position: relative;
}

.navbar a, .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    color: var(--text-muted);
    white-space: nowrap;
    transition: 0.3s;
    font-weight: 500;
}

.navbar a:hover, .navbar .active {
    color: var(--text-main);
}

.btn-header-cta {
    padding: 8px 20px;
    background: var(--accent-cyan);
    color: var(--bg-main);
    border: none;
}
.btn-header-cta:hover {
    background: var(--accent-pink);
    color: white;
}

/* Mobile Nav */
.mobile-nav-toggle {
    color: var(--text-main);
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 0;
    transition: 0.5s;
    z-index: 9999;
}
.mobile-nav-toggle .ri-close-line { display: none; }

body.mobile-nav-active { overflow: hidden; }
body.mobile-nav-active .mobile-nav-toggle .ri-menu-line { display: none; }
body.mobile-nav-active .mobile-nav-toggle .ri-close-line { display: block; }
body.mobile-nav-active #navbar {
    right: 0;
    opacity: 1;
}

@media (max-width: 991px) {
    #navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(2, 6, 23, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        transition: all 0.3s ease-in-out;
        z-index: 9998;
        opacity: 0;
        padding-top: 80px;
    }
    #navbar ul {
        flex-direction: column;
        text-align: center;
    }
    #navbar a, .navbar a:focus {
        padding: 15px;
        font-size: 1.2rem;
    }
}

/* --- HERO SECTION --- */
.hero-section {
    height: 100vh;
    width: 100%;
    background: url('../img/urban-salon-hero.webp') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 6, 23, 0.7);
    background-image: radial-gradient(circle at 20% 80%, var(--accent-purple), transparent 40%),
                      radial-gradient(circle at 80% 30%, var(--accent-cyan), transparent 40%);
    opacity: 0.4;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 900;
    text-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.hero-section .lead {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 2rem auto;
}

.cta-buttons .btn {
    margin: 0 10px;
}

/* --- WEBLITE PROMO --- */
.weblite-promo {
    padding: 40px 0;
    background-color: var(--bg-secondary);
}
.weblite-promo .glass-card {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
}
.weblite-promo p {
    margin: 0;
    font-size: 1.1rem;
}
.weblite-promo .btn {
    background: white;
    color: var(--bg-main);
    padding: 10px 25px;
}

/* --- SERVICES SECTION --- */
.services-section {
    background-color: var(--bg-secondary);
}
.service-card {
    text-align: center;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px var(--accent-purple);
    border-color: var(--accent-purple);
}
.service-icon {
    font-size: 3rem;
    background: -webkit-linear-gradient(45deg, var(--accent-pink), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    display: inline-block;
}
.service-card h3 {
    margin-bottom: 1rem;
}
.service-card p {
    color: var(--text-muted);
}

/* --- ABOUT SECTION --- */
.about-image img {
    border-radius: 1rem;
    box-shadow: -20px -20px 0 0 var(--accent-purple);
}

/* --- GALLERY SECTION --- */
.gallery-section {
    background-color: var(--bg-secondary);
}
.masonry-grid {
    margin: 0 -10px;
}
.grid-item {
    width: calc(33.333% - 20px);
    margin: 10px;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}
.grid-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}
.grid-item:hover img {
    transform: scale(1.1);
}
.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.grid-item:hover .img-overlay {
    opacity: 1;
}
.img-overlay span {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}
.grid-item:hover .img-overlay span {
    transform: translateY(0);
}

/* --- PRICING SECTION --- */
.pricing-menu {
    padding: 3rem;
}
.menu-item {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}
.item-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}
.item-dots {
    flex-grow: 1;
    border-bottom: 2px dotted var(--border-glass);
    margin: 0 1rem;
}
.item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-cyan);
}
.item-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
    padding-right: 1rem;
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
    background-color: var(--bg-secondary);
}
.testimonial-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-glass);
    position: relative;
    height: 100%;
}
.testimonial-card i {
    color: var(--accent-pink);
    font-size: 1.5rem;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}
.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
}
.testimonial-card .author {
    font-weight: 700;
    color: var(--text-main);
}

/* --- WEBLITE PROMO 2 --- */
.weblite-promo-alt {
    padding: 60px 0;
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
}
.weblite-promo-alt h3 {
    color: var(--bg-main);
    font-weight: 900;
}
.weblite-promo-alt p {
    color: var(--bg-secondary);
    margin-bottom: 2rem;
}
.weblite-promo-alt .btn {
    background: var(--bg-main);
    color: white;
}

/* --- CONTACT SECTION --- */
.contact-form-wrapper {
    padding: 3rem;
}
.form-label {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.form-control, .form-select {
    background-color: rgba(2, 6, 23, 0.5);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    padding: 0.75rem 1rem;
}
.form-control:focus, .form-select:focus {
    background-color: rgba(2, 6, 23, 0.7);
    color: var(--text-main);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}
.form-control::placeholder {
    color: #6b7280;
}
.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%239ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}
.form-control.is-invalid, .form-select.is-invalid {
    border-color: var(--accent-pink);
}
.invalid-feedback {
    color: var(--accent-pink);
}
#form-success-message {
    background-color: var(--accent-cyan);
    color: var(--bg-main);
    border: none;
    font-weight: 700;
}

/* --- FOOTER --- */
#footer {
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 14px;
    border-top: 3px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(to left, var(--accent-pink), var(--accent-cyan));
}
#footer .footer-top {
    padding: 60px 0 30px 0;
}
#footer h3, #footer h4 {
    color: var(--text-main);
    font-weight: 700;
}
#footer .footer-contact a {
    color: var(--text-muted);
}
#footer .footer-contact a:hover {
    color: var(--accent-cyan);
}
#footer .late-note {
    color: var(--accent-cyan);
    font-weight: 700;
}
.social-links a {
    font-size: 24px;
    display: inline-block;
    background: var(--glass-bg);
    color: var(--text-main);
    line-height: 1;
    padding: 10px;
    border-radius: 50%;
    text-align: center;
    width: 44px;
    height: 44px;
    transition: 0.3s;
    margin-left: 8px;
    border: 1px solid var(--border-glass);
}
.social-links a:hover {
    background: var(--accent-cyan);
    color: var(--bg-main);
    border-color: var(--accent-cyan);
}
#footer .footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--border-glass);
}
#footer .copyright {
    float: right;
}
#footer .credits {
    float: left;
    font-size: 13px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 991px) {
    .hero-section h1 { font-size: 2.5rem; }
    .section-padding { padding: 60px 0; }
    .about-image { margin-bottom: 30px; }
    .about-image img { box-shadow: -15px -15px 0 0 var(--accent-purple); }
    .grid-item { width: calc(50% - 20px); }
    .weblite-promo .glass-card { flex-direction: column; text-align: center; }
    #footer .copyright, #footer .credits { float: none; text-align: center; padding: 5px 0; }
}

@media (max-width: 767px) {
    .hero-section h1 { font-size: 2rem; }
    .hero-section .lead { font-size: 1rem; }
    .cta-buttons { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
    .grid-item { width: calc(100% - 20px); }
    .pricing-menu { padding: 2rem; }
    .contact-form-wrapper { padding: 2rem; }
}
