/* Salon Muslimah Dina - Professional Salon Design */

/* CSS Variables */
:root {
    --salon-primary: #E91E63;
    --salon-secondary: #8E24AA;
    --salon-accent: #EC407A;
    --salon-deep-purple: #4A148C;
    --salon-soft-pink: #FCE4EC;
    --salon-warm-pink: #F8BBD9;
    --salon-cream: #FFF8F5;
    --salon-charcoal: #2D2D2D;
    --salon-gold: #FFD700;
    --salon-success: #4CAF50;
    --salon-islamic: #16A085;

    --gradient-primary: linear-gradient(135deg, #E91E63, #8E24AA);
    --gradient-soft: linear-gradient(135deg, #FCE4EC, #F8BBD9);
    --gradient-accent: linear-gradient(45deg, #EC407A, #E91E63);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--salon-charcoal);
    overflow-x: hidden;
}

/* Typography */
.islamic-text {
    font-family: 'Amiri', serif;
}

.dancing-text {
    font-family: 'Dancing Script', cursive;
}

/* Navigation - removed expensive backdrop-filter for performance */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    /* backdrop-filter: blur(10px); - Removed for performance */
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(233, 30, 99, 0.1);
}

.navbar-brand {
    text-decoration: none;
}

.logo-container {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.2);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-text {
    margin-left: 0.75rem;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--salon-primary);
    margin: 0;
}

.brand-tagline {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.nav-link {
    color: var(--salon-charcoal) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--salon-primary) !important;
    background: var(--salon-soft-pink);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fef7f0 0%, #fce4ec 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="200" height="200" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" stroke="%23E91E63" stroke-width="1" opacity="0.05"%3E%3Cpath d="M100,20 Q140,60 180,20 Q180,60 140,100 Q180,140 180,180 Q140,140 100,180 Q60,140 20,180 Q20,140 60,100 Q20,60 20,20 Q60,60 100,20Z"/%3E%3C/g%3E%3C/svg%3E') repeat;
    background-size: 300px 300px;
    animation: float 30s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    50% { transform: translateY(-20px) rotate(0deg); }
    75% { transform: translateY(-10px) rotate(-1deg); }
}

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

.islamic-greeting {
    text-align: center;
}

.bismillah-text {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    color: var(--salon-islamic);
    margin-bottom: 1rem;
}

.ornamental-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.ornamental-divider .line {
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
}

.ornamental-divider .star {
    color: var(--salon-gold);
    font-size: 1.2rem;
    animation: float 4s ease-in-out infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--salon-charcoal);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--salon-primary);
    font-weight: 600;
}

.hero-description {
    font-size: 1.25rem;
    color: #6b7280;
    font-weight: 500;
}

.hero-detail {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
}

.hero-actions {
    margin-top: 2rem;
}

.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-image-wrapper:hover {
    transform: scale(1.05);
}

.hero-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(233, 30, 99, 0.2);
    border: 4px solid white;
}

.admin-hint {
    position: absolute;
    top: -10px;
    right: -10px;
}

.admin-hint .badge {
    background: var(--salon-gold);
    color: var(--salon-charcoal);
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
}

/* Buttons */
.btn {
    border-radius: 25px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
    color: white;
}

.btn-outline-primary {
    background: transparent;
    color: var(--salon-primary);
    border: 2px solid var(--salon-primary);
}

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

.btn-success {
    background: linear-gradient(135deg, #25d366, #20ba5a);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: white;
}

/* Sections */
.services-section {
    background: white;
}

.video-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.why-choose-section {
    background: var(--salon-soft-pink);
}

.booking-section {
    background: white;
}

.feedback-section {
    background: var(--salon-soft-pink);
}

.contact-section {
    background: white;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--salon-charcoal);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    font-weight: 500;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 0 20px 0 50%;
    opacity: 0.1;
}

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

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

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--salon-charcoal);
    margin-bottom: 0.5rem;
}

.service-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--salon-primary);
    margin-bottom: 1rem;
}

.service-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.tag {
    background: #f8f9fa;
    color: var(--salon-charcoal);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(233, 30, 99, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--salon-charcoal);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Contact Cards */
.contact-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(233, 30, 99, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.contact-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--salon-charcoal);
    margin-bottom: 1rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: #6b7280;
}

.contact-details .highlight {
    color: var(--salon-primary);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--salon-charcoal);
    color: white;
    padding: 2rem 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.footer-tagline {
    color: #9ca3af;
        font-size: 0.9rem;
}

.footer-copyright {
    color: #9ca3af;
    margin: 0;
}

/* Video Section */
.video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: white;
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Always maintain 16:9 landscape container */
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Video will scale to fit inside the landscape container */
    border: none;
    background: #000;
}

/* Portrait video - maintain landscape border, center video inside */
.video-wrapper.portrait .video-player {
    width: auto;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
    object-fit: contain;
}

/* Square video - maintain landscape border, center video inside */
.video-wrapper.square .video-player {
    width: auto;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
    object-fit: contain;
}

/* Responsive video adjustments */
@media (max-width: 768px) {
    .video-container {
        max-width: 100%;
        margin: 0 1rem;
    }

    .video-wrapper {
        padding-bottom: 56.25%; /* Always landscape container */
    }

    .video-player {
        object-fit: contain; /* Maintain aspect ratio on mobile too */
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.play-button {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--salon-primary), #c2185b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(233, 30, 99, 0.6);
}

.video-info {
    padding: 2rem;
    text-align: center;
}

.video-title {
        font-size: 1.5rem;
    font-weight: 700;
    color: var(--salon-charcoal);
    margin-bottom: 1rem;
}

.video-description {
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Loading Spinner */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-spinner {
    position: relative;
    width: 60px;
    height: 60px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid var(--salon-primary);
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.spinner-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-top-color: var(--salon-accent);
    animation-delay: -0.4s;
    animation-duration: 1.5s;
}

.spinner-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-top-color: var(--salon-gold);
    animation-delay: -0.8s;
    animation-duration: 1.8s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: #6b7280;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #20ba5a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    bottom: 2rem;
    right: 2rem;
    font-size: 1.5rem;
}

.whatsapp-float:hover {
    color: white;
    text-decoration: none;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Animations */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-image {
        width: 250px;
        height: 250px;
    }

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

    .service-card,
    .feature-card,
    .contact-card {
        padding: 1.5rem;
    }

    .whatsapp-float {
    width: 50px;
    height: 50px;
        bottom: 1rem;
        right: 1rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

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

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

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Utility Classes */
.min-vh-100 {
    min-height: 100vh;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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