/* ======================
   HAIR BY RHIANNON - MAIN STYLESHEET
   styles.css
   ====================== */

/* ======================
   CSS RESET & BASE STYLES
   ====================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* COLOR SCHEME - CUSTOMIZE THESE COLORS */
    --primary-gold: #d4af37;
    --primary-dark: #2c2c2c;
    --primary-light: #f8f8f8;
    --accent-rose: #d4a574;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --success-green: #28a745;
    --warning-orange: #fd7e14;
    --danger-red: #dc3545;
    --info-blue: #17a2b8;
    
    /* TYPOGRAPHY */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    padding-top: 80px; /* Account for fixed navbar */
}

/* ======================
   NAVIGATION BAR
   ====================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px var(--shadow);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    color: var(--primary-gold);
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-gold);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gold);
}

.nav-book-btn {
    background: var(--primary-gold);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.nav-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ======================
   CONTAINER & LAYOUT
   ====================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ======================
   TYPOGRAPHY
   ====================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--primary-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ======================
   PAGE HEADERS
   ====================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-gold));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.hero-section {
    height: 100vh;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.7), rgba(212, 175, 55, 0.3)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><rect fill="%23f0f0f0" width="1000" height="1000"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ======================
   BUTTONS
   ====================== */
.btn-primary {
    background: var(--primary-gold);
    color: var(--white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 1rem 2.5rem;
    border: 2px solid var(--white);
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--text-dark);
}

.btn-submit {
    background: var(--primary-gold);
    color: var(--white);
    padding: 1.25rem 3rem;
    border: none;
    border-radius: 40px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.btn-submit:hover {
    background: #218838;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.btn-submit:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ======================
   CARDS & COMPONENTS
   ====================== */
.card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gold);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card input[type="checkbox"] {
    position: absolute;
    top: 1rem;
    left: 1rem;
    /* Optional: visually hide but keep accessible */
    opacity: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.service-card label {
    width: 100%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card h4 {
    margin: 0.5rem 0 0.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: inherit;
    display: block;
}

.service-card .price {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
    color: inherit;
    display: block;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gold);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.service-description {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-price {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ======================
   FORMS
   ====================== */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    background: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

.form-helper {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.required {
    color: var(--danger-red);
}

/* ======================
   NOTICES & ALERTS
   ====================== */
.notice {
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    font-weight: 500;
    text-align: center;
}

.notice.info {
    background: var(--info-blue);
    color: var(--white);
}

.notice.warning {
    background: var(--warning-orange);
    color: var(--white);
}

.notice.danger {
    background: var(--danger-red);
    color: var(--white);
}

.notice.success {
    background: var(--success-green);
    color: var(--white);
}

.highlight-quote {
    background: var(--primary-light);
    border-left: 4px solid var(--primary-gold);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--primary-dark);
}

.highlight-box {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--primary-gold);
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    font-weight: 500;
}

/* ======================
   STATS & COUNTERS
   ====================== */
.stats-section {
    padding: 4rem 0;
    background: var(--primary-dark);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary-gold);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.stat-description {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* ======================
   FOOTER
   ====================== */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.footer-section p,
.footer-section li {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a:hover {
    color: var(--primary-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ======================
   ANIMATIONS
   ====================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.slide-up {
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.6s ease forwards;
}

/* ======================
   RESPONSIVE DESIGN
   ====================== */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        background: var(--white);
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        box-shadow: 0 2px 20px var(--shadow);
        z-index: 999;
    }

    .nav-menu.d-block {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-grid,
    .portfolio-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .container,
    .nav-container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container,
    .nav-container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================
   UTILITY CLASSES
   ====================== */
.text-center {
    text-align: center;
}

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

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }

/* ======================
   ADMIN LOGIN STYLES
   Added for authentication system
   ====================== */

/* Import the admin login styles */
@import url('admin-login.css');