@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/* Hair Wish - Modern Clean Design */
/* Inspired by contemporary salon websites */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #3b2b2b;
    background-color: #fdf7f5;
}

/* Color Palette - softer, warmer tones */
:root {
    --primary-color: #b26b6b; /* Soft rose */
    --secondary-color: #8d5555; /* Warm muted rose-brown */
    --accent-color: #fdf5f3; /* Warm light background */
    --muted-color: #e4d4cf;
    --text-dark: #3b2b2b;
    --text-light: #7a6464;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.08);
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
}

/* Transparent header variant for homepage hero (photo runs fully behind) */
.header.header--transparent {
    background: transparent;
    box-shadow: none;
}

.header.header--transparent .logo {
    color: var(--white);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.header.header--transparent .logo:hover {
    color: var(--accent-color);
}

.header.header--transparent .nav a {
    color: var(--white);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.header.header--transparent .nav a:hover,
.header.header--transparent .nav a.current {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
}

.header.header--transparent .nav a.booking-button {
    background: transparent;
    border-color: var(--white);
}

.header.header--transparent .nav a.booking-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.9);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo:hover {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

/* Navigation */
.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav a:hover,
.nav a.current {
    background: var(--primary-color);
    color: var(--white);
}

.nav a.booking-button {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    border: 2px solid var(--primary-color);
    margin-left: 1rem;
    animation: pulse 2s infinite;
}

.nav a.booking-button:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(17, 17, 17, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(17, 17, 17, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(17, 17, 17, 0);
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(178, 107, 107, 0.32) 0%, rgba(59, 43, 43, 0.75) 100%), url("../../images/banner.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 6rem 2rem 4rem;
    text-align: center;
    margin-top: 80px;
    position: relative;
}

/* Fullscreen hero for homepage */
.hero-full {
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-brand {
    margin-bottom: 2rem;
}

.hero-eyebrow {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--white), var(--accent-color));
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--muted-color);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: var(--white);
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background: var(--white);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* About Section */
.about {
    background: var(--accent-color);
    padding: 5rem 2rem;
}

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

.about-text h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.about-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.about-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
}

/* Contact Banner */
.contact-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-banner .contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.contact-banner .contact-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.contact-banner .contact-item i {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
    display: block;
}

.contact-banner .contact-item strong {
    color: var(--white);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-banner .contact-item a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
}

.contact-banner .contact-item a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Highlighted appointment tile in contact banner */
.contact-banner .contact-item.appointment-highlight {
    grid-column: 1 / -1;
    max-width: 420px;
    margin: 0 auto;
    background: var(--white);
    border-color: var(--muted-color);
    box-shadow: 0 10px 25px var(--shadow);
}

.contact-banner .contact-item.appointment-highlight i {
    color: var(--primary-color);
}

.contact-banner .contact-item.appointment-highlight strong,
.contact-banner .contact-item.appointment-highlight a {
    color: var(--text-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--accent-color);
    border-radius: 10px;
    border: 1px solid var(--muted-color);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    width: 30px;
}

.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
}

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

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 2rem 1rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--muted-color);
}

.footer p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 15px var(--shadow);
    }
    
    .nav.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .header-container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
