/* ========================================
   Dr Hajra Aesthetics - Luxury Styling
   ======================================== */

:root {
    /* Luxury Color Palette */
    --primary-gold: #C9A063;
    --primary-dark: #1a1a1a;
    --primary-cream: #F5F2ED;
    --accent-rose: #D4A5A5;
    --accent-sage: #9BA699;
    --text-dark: #2C2C2C;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --font-accent: 'Cormorant Garamond', serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;
    
    /* Shadows */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 15px 50px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ========================================
   Global Styles
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--off-white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 3.5rem; letter-spacing: -1px; }
h2 { font-size: 2.75rem; letter-spacing: -0.5px; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.text-gold { color: var(--primary-gold); }
.text-accent { color: var(--primary-gold); }
.bg-cream { background-color: var(--primary-cream); }
.bg-dark { background-color: var(--primary-dark); }

/* ========================================
   Navigation
   ======================================== */

.ob-navbar-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark) !important;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.ob-logo {
    height: 70px;
    width: auto;
    /* filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); sham */
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-dark) !important;
    padding: 0.5rem 0.6rem !important;
    margin: 0 0.1rem;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-gold) !important;
}

.nav-link:hover::after {
    width: 70%;
}

.dropdown-menu {
    background: white;
    border: none;
    box-shadow: var(--shadow-medium);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-cream);
    color: var(--primary-gold);
    padding-left: 2rem;
}

.dropdown-toggle::after {
    border-top-color: var(--primary-gold);
}

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-cream) 0%, var(--off-white) 100%);
    overflow-x: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../img/hero-pattern.svg') center/cover no-repeat;
    opacity: 0.05;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    color: var(--primary-gold);
    font-style: italic;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-image {
    position: relative;
    z-index: 1;
    animation: fadeInRight 1s ease 0.6s backwards;
    overflow: hidden;
    border-radius: 20px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-strong);
    transition: transform 1.2s ease-in-out;
    transform: scale(1);
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* ========================================
   Buttons
   ======================================== */

.btn-luxury {
    background: var(--primary-gold);
    color: white;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    border: 2px solid var(--primary-gold);
    border-radius: 50px;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-luxury::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-luxury:hover::before {
    width: 300px;
    height: 300px;
}

.btn-luxury:hover {
    background: var(--text-dark);
    border-color: var(--text-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-luxury-outline {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.5px;
}

.btn-luxury-outline:hover {
    background: var(--primary-gold);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 160, 99, 0.3);
}

.btn-outline-accent {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    padding: 0.5rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.5px;
}

.btn-outline-accent:hover {
    background: var(--primary-gold);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 160, 99, 0.3);
}

/* ========================================
   Section Styles
   ======================================== */

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-title .subtitle {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    color: var(--primary-gold);
    font-style: italic;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--primary-gold);
    margin: 2rem auto;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-gold);
    top: 50%;
    transform: translateY(-50%);
}

.section-divider::before { left: -20px; }
.section-divider::after { right: -20px; }

/* ========================================
   Services/Treatments Cards
   ======================================== */

.treatment-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(201, 160, 99, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.treatment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-rose));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.treatment-card:hover::before {
    transform: scaleX(1);
}

.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.treatment-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-rose));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
}

.gold-icon {
    color: var(--primary-gold);
}

.treatment-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.treatment-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.treatment-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-top: auto;
}

.treatment-link:hover {
    gap: 0.5rem;
    color: var(--text-dark);
}

.treatment-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.treatment-link:hover i {
    transform: translateX(5px);
}

/* ========================================
   About Section
   ======================================== */

.about-section {
    background: white;
}

.heartbeat-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.heartbeat-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1.2s ease-in-out;
    transform: scale(1);
}

.heartbeat-image-wrapper:hover img {
    transform: scale(1.05);
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary-gold);
    color: white;
    padding: 1.5rem;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-medium);
}

.about-badge .number {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.about-badge .text {
    font-size: 0.8rem;
    font-weight: 400;
}

.about-content {
    padding-left: 3rem;
}

.about-content .lead {
    font-size: 1.2rem;
    color: var(--primary-gold);
    font-weight: 500;
    margin-bottom: 1rem;
}

.credentials-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.credentials-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
}

.credentials-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: 700;
    font-size: 1.2rem;
}

.gold-bullets {
    color: var(--primary-gold);
}

.gold-bullets li span {
    color: #000;
}

/* ========================================
   Testimonials
   ======================================== */

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    position: relative;
    margin-bottom: 2rem;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 120px;
    color: var(--primary-gold);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h5 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-dark);
}

.author-info .stars {
    color: var(--primary-gold);
    font-size: 0.9rem;
}

/* ========================================
   Footer
   ======================================== */

footer {
    background: var(--primary-dark);
    color: white;
}

.footer-logo {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

footer a:hover {
    color: var(--primary-gold) !important;
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.4rem; }
    
    .section { padding: 60px 0; }
    .about-content { padding-left: 0; margin-top: 2rem; }
    
    .treatment-card { margin-bottom: 2rem; }
    
    /* Mobile Dropdown Fixes for iPhone */
    .navbar-nav .dropdown-menu {
        border: none;
        box-shadow: none;
        background: rgba(245, 242, 237, 0.95);
        border-radius: 0;
        margin: 0;
        padding: 0.5rem 0;
    }
    
    .navbar-nav .dropdown-item {
        padding: 0.75rem 2rem;
        font-size: 0.95rem;
    }
    
    .navbar-nav .dropdown-toggle::after {
        float: right;
        margin-top: 0.5rem;
    }
    
    /* Ensure dropdowns are clickable on touch devices */
    .dropdown-toggle {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .dropdown-menu {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Enable scrolling for navbar collapse on mobile */
    .navbar-collapse {
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 768px) {
    .hero-section { 
        min-height: auto; 
        padding: 60px 0 200px 0;
        overflow: visible;
        display: block;
    }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .hero-description { font-size: 1rem; }
    
    .hero-content {
        padding: 0;
        margin-bottom: 3rem;
    }
    
    .hero-image {
        margin-top: 0;
        margin-bottom: 120px;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .hero-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        display: block;
        border-radius: 15px;
    }
    
    .btn-luxury,
    .btn-luxury-outline {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}

/* ========================================
   Utility Classes
   ======================================== */

.mb-6 { margin-bottom: 4rem; }
.mt-6 { margin-top: 4rem; }
.py-6 { padding-top: 4rem; padding-bottom: 4rem; }

.shadow-luxury { box-shadow: var(--shadow-soft); }
.shadow-luxury-hover { transition: box-shadow 0.3s ease; }
.shadow-luxury-hover:hover { box-shadow: var(--shadow-strong); }

.border-gold { border-color: var(--primary-gold) !important; }
.bg-gradient-gold {
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-rose));
}

/* ========================================
   FAQ Accordion
   ======================================== */

.accordion {
    --bs-accordion-border-color: rgba(201, 160, 99, 0.2);
    --bs-accordion-border-radius: 0;
}

.accordion-item {
    background-color: var(--white);
    border: 1px solid rgba(201, 160, 99, 0.2);
    margin-bottom: 1rem;
    border-radius: 8px !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    background-color: var(--white);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.5rem 1.8rem;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-cream);
    color: var(--primary-gold);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23C9A063'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    width: 1.5rem;
    height: 1.5rem;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23C9A063'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem 1.8rem 2rem;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    background-color: var(--white);
}

.accordion-collapse {
    border-top: 1px solid rgba(201, 160, 99, 0.1);
}

@media (max-width: 768px) {
    .accordion-button {
        font-size: 1rem;
        padding: 1.2rem 1.5rem;
    }
    
    .accordion-body {
        padding: 1.2rem 1.5rem 1.5rem;
        font-size: 0.95rem;
    }
}

