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

:root {
    --primary: #0a0a0a;
    --secondary: #f5f5f5;
    --gold: #d4af37;
    --pink: #f4a6c1;
    --text: #1a1a1a;
    --light: #f9f9f9;
    --border: #d4af37;
}

html {
    scroll-behavior: smooth;
    /* Ensure anchor scrolling accounts for the fixed header */
    scroll-padding-top: 100px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background-color: #fff;
    line-height: 1.6;
}

/* Offset anchor targets so content isn't hidden under the sticky header */
section {
    scroll-margin-top: 100px;
}

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

/* Navigation */
.navbar {
    background-color: var(--primary);
    color: white;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: white;
    padding: 120px 20px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

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

.tagline {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #ddd;
    font-weight: 300;
}

.hero-standard {
    font-size: 0.9rem;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #d4af37;
    font-weight: 600;
    margin-top: -1rem;
    margin-bottom: 0.5rem;
}

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

.tagline {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #ddd;
    font-weight: 300;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--gold);
    color: #0a0a0a;
}

.btn-primary:hover {
    background-color: #e8c547;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.btn-block {
    display: block;
    width: 100%;
    margin-top: 1rem;
}

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

.btn-secondary:hover {
    background-color: #e8e8e8;
}

/* Sections */
section {
    padding: 80px 20px;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary);
    font-weight: 700;
}

/* About Section */
.about {
    background-color: var(--light);
}

.stylist-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

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

.profile-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 4px solid var(--gold);
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
}

.stylist-bio h3 {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #555;
}

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

@media (max-width: 768px) {
    .stylist-section {
        grid-template-columns: 1fr;
    }
}

.highlight {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    border-top: 3px solid var(--gold);
}

.highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.2);
}

.highlight h3 {
    color: var(--gold);
    margin-bottom: 0.5rem;
}

/* Services Section */
.services {
    background-color: #ffffff;
    position: relative;
    z-index: 1;
}

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

.service-category {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--border);
        position: relative;
        z-index: 2;
        opacity: 1;
    text-align: center;
}

.service-category:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.service-category h3 {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.service-category p {
    color: #666;
    font-size: 0.95rem;
}

/* Modal */
.modal {
    display: flex;
    position: fixed;
    z-index: 999; /* Above the fixed header */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.98);
    overflow: auto;
    animation: fadeIn 0.3s ease;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background-color: white;
    margin: auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    animation: slideUp 0.3s ease;
    border-top: 3px solid var(--gold);
}

.modal-content h2 {
    margin-bottom: 2rem;
    text-align: left;
    color: var(--gold);
}

.close {
    color: var(--gold);
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #e8c547;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.option-btn {
    padding: 1rem;
    border: 2px solid var(--gold);
    background-color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: left;
    font-weight: 500;
    color: var(--text);
}

.option-btn:hover {
    background-color: rgba(212, 175, 55, 0.1);
    border-color: #e8c547;
}

/* Length Options */
.length-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.length-btn {
    padding: 1rem;
    border: 2px solid var(--gold);
    background-color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--text);
}

.length-btn:hover {
    border-color: #e8c547;
    background-color: rgba(212, 175, 55, 0.05);
}

.length-btn.active {
    background-color: var(--gold);
    color: #0a0a0a;
    border-color: var(--gold);
}

/* Pricing Summary */
.pricing-summary {
    max-width: 450px;
}

.summary-details {
    background-color: rgba(244, 166, 193, 0.1);
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    border-left: 4px solid var(--pink);
}

.addons-section {
    background-color: rgba(212, 175, 55, 0.05);
    padding: 1.5rem;
    border-radius: 4px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--gold);
}

.addons-section h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.addons-grid {
    display: grid;
    gap: 0.75rem;
}

.discount-section {
    background-color: rgba(244, 166, 193, 0.08);
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    border-left: 4px solid var(--pink);
}

.discount-section h3 {
    color: var(--pink);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.discount-row {
    display: flex;
    gap: 0.5rem;
}

.discount-row input {
    flex: 1;
    padding: 0.6rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    text-transform: uppercase;
}

.discount-row .btn {
    white-space: nowrap;
    padding: 0.6rem 1rem;
}

.discount-message {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

.addon-option {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid var(--gold);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.addon-option:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.addon-option input[type="checkbox"] {
    margin-right: 0.75rem;
    cursor: pointer;
    accent-color: var(--gold);
}

.addon-option span {
    flex: 1;
    font-weight: 500;
}

.summary-details p {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
}

.summary-details strong {
    color: var(--primary);
}

.deposit-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* Payment Form */
.payment-form {
    max-width: 450px;
}

.payment-info {
    background-color: #fafaf8;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    text-align: center;
}

.payment-info p:first-child {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.payment-note {
    font-size: 0.85rem;
    color: #666;
}

#card-element {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-bottom: 1rem;
}

#card-errors {
    color: #fa755a;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Booking Form */
.booking-form {
    max-width: 500px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gold);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gold);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e8c547;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Time Slot Selection */
.time-slots-container {
    background-color: rgba(212, 175, 55, 0.05);
    padding: 1.5rem;
    border-radius: 4px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--gold);
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.time-slot-btn {
    padding: 0.75rem;
    border: 2px solid var(--gold);
    background-color: #0a0a0a;
    color: var(--gold);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.time-slot-btn:hover {
    background-color: var(--gold);
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.time-slot-btn:active {
    transform: translateY(0);
}

#bookingMessage {
    text-align: center;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--gold);
}

/* Confirmation */
.confirmation {
    text-align: center;
    max-width: 400px;
}

.confirmation-icon {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.confirmation h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--gold);
}

.confirmation p {
    margin-bottom: 0.5rem;
    color: #666;
}

.confirmation-note {
    font-size: 0.9rem;
    color: #999;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* Policies Section */
.policies {
    background-color: var(--light);
}

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

.policy-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--gold);
}

.policy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
}

.policy-card h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.policy-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Referral Section */
.referral {
    background: linear-gradient(135deg, #0a0a0a 0%, #111 100%);
    color: #f5f5f5;
    padding: 80px 20px;
}

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

.referral h2 {
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.referral-subtitle {
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 2.5rem;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.perk-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-top: 3px solid var(--gold);
    border-radius: 8px;
    padding: 1.6rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.perk-icon {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.perk-card h3 {
    color: var(--gold);
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.perk-card p {
    font-size: 0.88rem;
    color: #ccc;
    margin: 0;
    line-height: 1.5;
}

.perk-highlight {
    color: #f5f5f5 !important;
    font-weight: 600 !important;
}

.perk-note {
    font-size: 0.75rem !important;
    color: #888 !important;
    font-style: italic;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.contact h2 {
    color: var(--gold);
}

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

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: white;
}

.contact-details {
    margin: 2rem 0;
}

.contact-details p {
    font-size: 1rem;
    margin: 1rem 0;
    color: var(--gold);
}

.contact-details a {
    color: var(--gold);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-cta-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.contact-cta-row .btn {
    min-width: 160px;
}

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

.social-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--gold);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.social-link:hover {
    background-color: var(--gold);
    color: #0a0a0a;
}

/* Portfolio Section */
.portfolio {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}

.portfolio h2 {
    text-align: center;
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

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

/* Extensions section */
.extensions {
    padding: 40px 0;
    background: #fff;
}
.extensions .extensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 1rem;
}
.extension-item {
    text-align: center;
}
.extension-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.extension-item figcaption {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: #333;
}
.extensions-order-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 1.5rem;
}
.extension-order-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.extension-order-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}
.extension-order-details {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.extension-order-details h3 {
    margin: 0;
    font-size: 1.05rem;
}
.extension-order-details p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
}
.extension-order-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.ext-qty-input {
    width: 70px;
}
.extensions-note {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: #444;
}

/* Add-on color picker */
.extension-with-colors {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.extension-color-picker {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.extension-quantity {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.addon-qty-input {
    width: 60px;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-align: center;
    background: #fff;
}
.qty-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #f5f5f5;
    color: #333;
    font-size: 1.2rem;
    cursor: pointer;
}
.qty-btn:hover {
    background: #e9e9e9;
}
.qty-label {
    color: #555;
    font-size: 0.95rem;
}
.color-option {
    width: 56px;
    height: 56px;
    padding: 4px;
    border: 2px solid transparent;
    border-radius: 6px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.color-option img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}
.color-option.selected {
    border-color: #d4af37;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Floating search button + overlay */
#siteCheckoutButton,
#siteSearchButton {
    position: fixed;
    right: 18px;
    min-width: 56px;
    height: 56px;
    border-radius: 56px;
    background: #d4af37;
    color: #fff;
    border: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    font-size: 18px;
    cursor: pointer;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
}

#siteCheckoutButton {
    bottom: 88px;
}

#siteSearchButton {
    bottom: 18px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 0;
}

#siteSearchOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: start;
    justify-content: center;
    padding-top: 6vh;
    z-index: 1300;
}
.search-panel {
    width: min(920px, 96%);
    background: #fff;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.search-panel .close-search {
    float: right;
    border: none;
    background: transparent;
    font-size: 26px;
    cursor: pointer;
}
#siteSearchInput {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin: 8px 0 12px 0;
}
.search-results { max-height: 50vh; overflow: auto; }
.search-result-item { padding: 10px 8px; border-bottom: 1px solid #f1f1f1; cursor: pointer; }
.search-result-item h4 { margin: 0; font-size: 15px; }
.search-result-item p { margin: 6px 0 0 0; color: #555; font-size: 13px; }
.hidden { display: none !important; }

/* Checkout modal */
.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    z-index: 1400;
}
.modal .modal-content {
    width: min(720px, 96%);
    background: #fff;
    padding: 18px;
    border-radius: 8px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.25);
    color: #111;
}
.modal .close-modal {
    float: right;
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
}
.checkout-items { margin: 12px 0 8px 0; }
.checkout-items .item { display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px solid #f1f1f1 }
.checkout-items .item > div { max-width: 70%; }
.checkout-items .item-meta { font-size: 0.9rem; color:#555; margin-top: 4px; }
.checkout-delivery label { display:block; margin:6px 0 }
.checkout-customer input { width:100%; padding:8px 10px; margin:6px 0; border:1px solid #ddd; border-radius:6px }
.checkout-total { margin-top:12px; font-weight:700; font-size:1.05rem }
.modal-actions { display:flex; gap:8px; justify-content:flex-end; margin-top:12px }

.portfolio-item {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.3);
}

.portfolio-item video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: white;
    padding: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer-verse {
    margin-top: 0.75rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        padding: 60px 20px;
        min-height: 70vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .hero-standard {
        font-size: 0.8rem;
        letter-spacing: 1.6px;
    }

    .hero-logo {
        max-width: 350px;
    }

    section {
        padding: 50px 20px;
    }

    section h2 {
        font-size: 2rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stylist-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-categories {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .length-options {
        grid-template-columns: 1fr;
    }

    .time-slots-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem;
    }

    .modal-content {
        width: 95%;
        max-width: 95%;
        margin: 10% auto;
        padding: 1.5rem;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
    }

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

    .social-links {
        flex-direction: column;
        gap: 1rem;
    }

    .social-link {
        display: block;
    }

    .portfolio-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio h2 {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .tagline {
        font-size: 0.95rem;
    }

    .hero-standard {
        font-size: 0.72rem;
        letter-spacing: 1.3px;
    }

    .logo {
        font-size: 1.1rem;
    }

    .navbar .container {
        padding: 0 10px;
    }

    .nav-links {
        gap: 0.3rem;
        font-size: 0.65rem;
        flex-wrap: wrap;
    }

    .nav-links a {
        padding: 0.2rem 0.4rem;
    }

    section {
        padding: 40px 15px;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .service-categories {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-category h3 {
        font-size: 1.3rem;
    }

    .policies-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .policy-card {
        padding: 1.5rem;
    }

    .portfolio {
        padding: 2rem 0;
    }

    .portfolio-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio h2 {
        font-size: 1.8rem;
    }

    .modal-content {
        width: 98%;
        margin: 5% auto;
        padding: 1rem;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-content h2 {
        font-size: 1.3rem;
    }

    .close {
        font-size: 2rem;
    }

    .time-slots-grid {
        grid-template-columns: 1fr !important;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
    }

    .btn-block {
        width: 100%;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .highlight {
        padding: 1.5rem;
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }

    .tagline {
        font-size: 0.85rem;
    }

    .hero-standard {
        font-size: 0.66rem;
        letter-spacing: 1.1px;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .modal-content {
        padding: 0.8rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}
