/* ========================================
   GROOMIRA BARBERSHOP - MAIN STYLES
   ======================================== */

:root {
    --primary-gold: #FFD700;
    --dark-charcoal: #2B2D31;
    --warm-brown: #8B4513;
    --cream-white: #FFF8E7;
    --accent-copper: #B87333;
    --text-gold: #F4D03F;
    --shadow-primary: rgba(255, 215, 0, 0.3);
    --shadow-dark: rgba(0, 0, 0, 0.2);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Barlow', sans-serif;
    background: var(--dark-charcoal);
    color: var(--cream-white);
    overflow-x: hidden;
    line-height: 1.6;
}

.font-playfair { 
    font-family: 'Playfair Display', serif; 
}

.font-oswald { 
    font-family: 'Oswald', sans-serif; 
}

.text-gold {
    color: var(--primary-gold) !important;
}


.navbar-brand img{
    max-width: 200px;
    width: 200px;
    object-fit: contain;
}

html{
    overflow-x: hidden;
}

/* ========================================
   NAVIGATION STYLES
   ======================================== */

.navbar-custom {
    background: rgba(43, 45, 49, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 3px solid var(--primary-gold);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 0;
}

.navbar-custom.scrolled {
    background: rgba(43, 45, 49, 0.98);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 2.2rem;
    color: var(--primary-gold) !important;
    text-shadow: 2px 2px 4px var(--shadow-dark);
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
    text-shadow: 3px 3px 6px var(--shadow-dark);
}

.nav-link {
    color: var(--cream-white) !important;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 1rem !important;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-copper));
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary-gold) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

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

.hero-section {
    height: 100vh;
    background: 
        linear-gradient(135deg, rgba(43, 45, 49, 0.8), rgba(139, 69, 19, 0.6)),
        url('../images/banner.jpg') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(184, 115, 51, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: var(--primary-gold);
    text-shadow: 
        3px 3px 6px rgba(0,0,0,0.7),
        0 0 30px rgba(255, 215, 0, 0.5);
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { text-shadow: 3px 3px 6px rgba(0,0,0,0.7), 0 0 30px rgba(255, 215, 0, 0.5); }
    100% { text-shadow: 3px 3px 6px rgba(0,0,0,0.7), 0 0 50px rgba(255, 215, 0, 0.8); }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--cream-white);
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
}

.btn-gold {
    background: linear-gradient(45deg, var(--primary-gold), var(--accent-copper));
    border: none;
    color: var(--dark-charcoal);
    font-weight: 600;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px var(--shadow-primary);
    color: var(--dark-charcoal);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--primary-gold);
    position: relative;
    animation: scrollBounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--primary-gold);
    border-bottom: 2px solid var(--primary-gold);
    transform: rotate(45deg);
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ========================================
   SECTION TITLES
   ======================================== */

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-copper));
    border-radius: 2px;
}

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

.services-section {
    background: var(--cream-white);
    color: var(--dark-charcoal);
    padding: 120px 0;
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: 
        repeating-linear-gradient(45deg, 
            transparent, 
            transparent 15px, 
            rgba(255, 215, 0, 0.03) 15px, 
            rgba(255, 215, 0, 0.03) 30px),
        radial-gradient(circle at 30% 70%, rgba(184, 115, 51, 0.05) 0%, transparent 50%);
}

.services-section .section-title {
    color: var(--dark-charcoal);
}

.service-card {
    background: white;
    border-radius: 25px;
    padding: 3rem 2rem;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.08),
        0 8px 16px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.1);
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-copper));
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.12),
        0 12px 24px rgba(0,0,0,0.08);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--accent-copper);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: var(--primary-gold);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-charcoal);
}

.service-card p {
    line-height: 1.7;
    color: #666;
    margin-bottom: 1.5rem;
}

.service-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    font-family: 'Oswald', sans-serif;
}

.btn-outline-primary {
    border-color: var(--accent-copper);
    color: var(--accent-copper);
    font-weight: 500;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--accent-copper);
    border-color: var(--accent-copper);
    color: white;
    transform: translateY(-2px);
}

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

.gallery-section {
    background: var(--dark-charcoal);
    padding: 120px 0;
    position: relative;
}

.gallery-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: 
        linear-gradient(180deg, transparent, rgba(255, 215, 0, 0.08)),
        repeating-conic-gradient(from 0deg at 50% 50%, 
            transparent 0deg 45deg, 
            rgba(184, 115, 51, 0.03) 45deg 90deg);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.9), 
        rgba(184, 115, 51, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-title {
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
    background: linear-gradient(135deg, var(--warm-brown), var(--accent-copper));
    padding: 120px 0;
    position: relative;
}

.testimonials-section::before {
    content: '"';
    position: absolute;
    top: 60px;
    left: 5%;
    font-size: 20rem;
    color: rgba(255, 215, 0, 0.08);
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    z-index: 1;
    line-height: 1;
}

.testimonial-card {
    background: rgba(255, 248, 231, 0.97);
    border-radius: 25px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.2),
        0 10px 20px rgba(0,0,0,0.1);
    color: var(--dark-charcoal);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 35px 70px rgba(0,0,0,0.25),
        0 15px 30px rgba(0,0,0,0.15);
}

.testimonial-stars {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
}

.testimonial-author {
    font-weight: 700;
    color: var(--accent-copper);
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */

.products-section {
    background: var(--cream-white);
    color: var(--dark-charcoal);
    padding: 120px 0;
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 70% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 30% 80%, rgba(184, 115, 51, 0.05) 0%, transparent 50%);
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.08),
        0 6px 12px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.12),
        0 10px 20px rgba(0,0,0,0.08);
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.1), 
        rgba(184, 115, 51, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image::after {
    opacity: 1;
}

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

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-card h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--dark-charcoal);
    margin-bottom: 0.8rem;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-gold);
    font-family: 'Oswald', sans-serif;
}

/* ========================================
   COOKIE BANNER
   ======================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(43, 45, 49, 0.98);
    backdrop-filter: blur(15px);
    border-top: 3px solid var(--primary-gold);
    padding: 1.5rem 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.3);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner .btn-outline-light {
    border-color: var(--cream-white);
    color: var(--cream-white);
    transition: all 0.3s ease;
}

.cookie-banner .btn-outline-light:hover {
    background: var(--cream-white);
    color: var(--dark-charcoal);
}

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

.footer {
    background: var(--dark-charcoal);
    padding: 100px 0 40px;
    border-top: 4px solid var(--primary-gold);
    position: relative;
}


.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.footer p {
    color: rgba(255, 248, 231, 0.8);
    line-height: 1.7;
}

.footer h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.footer a {
    color: rgba(255, 248, 231, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--primary-gold);
    transform: translateX(5px);
}

.social-links a {
    color: var(--cream-white);
    font-size: 1.8rem;
    margin-right: 1.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--primary-gold);
    transform: translateY(-3px) scale(1.2);
}

.footer hr {
    border-color: rgba(255, 215, 0, 0.3);
    margin: 3rem 0 2rem;
}

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

@media (max-width: 1200px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .testimonials-section::before {
        font-size: 15rem;
        left: 2%;
    }
    
    .service-card,
    .testimonial-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
        letter-spacing: -1px;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .navbar-brand {
        font-size: 1.8rem;
    }
    
    .services-section,
    .gallery-section,
    .testimonials-section,
    .products-section {
        padding: 80px 0;
    }
    
    .service-card,
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonials-section::before {
        font-size: 10rem;
        top: 30px;
    }
    
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-logo {
        font-size: 2.5rem;
    }
    
    .cookie-banner .col-lg-4 {
        text-align: center !important;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn-gold {
        padding: 15px 35px;
        font-size: 1rem;
    }
    
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        font-size: 3rem;
    }
    
    .service-price {
        font-size: 2rem;
    }
    
    .gallery-item {
        margin-bottom: 1rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .social-links a {
        font-size: 1.5rem;
        margin-right: 1rem;
    }
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease-out;
}

.animate-zoomIn {
    animation: zoomIn 0.6s ease-out;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.bg-pattern {
    position: relative;
}

.bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 215, 0, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(184, 115, 51, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px;
    opacity: 0.5;
    pointer-events: none;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.box-shadow-gold {
    box-shadow: 0 10px 30px var(--shadow-primary);
}

.border-gold {
    border: 2px solid var(--primary-gold) !important;
}

.bg-gold-gradient {
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-copper));
}

/* ========================================
   LOADING ANIMATION
   ======================================== */

.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

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

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}