/* ===== ER KOSMETIK - MODULAR DARK THEME ===== */

/* ===== MAIN CONTENT ===== */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
    background-color: var(--bg-primary) !important;
}

/* ===== HERO SECTIONS ===== */
.hero-section {
    padding-top: 15px;
    padding-bottom: 10px;
    margin-top: 85px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 0%),
        radial-gradient(circle at 80% 20%, rgba(152, 251, 152, 0.1) 0%, transparent 0%),
        radial-gradient(circle at 40% 40%, rgba(221, 160, 221, 0.05) 0%, transparent 0%);
    animation: wave 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes wave {
    0%, 50% { transform: rotate(-3deg) scale(1.05) translateY(-50px); }
    50% { transform: rotate(3deg) scale(1.15); }
    100% { transform: rotate(-3deg) scale(1.05) translateY(-20px); }
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(233, 30, 99, 0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(233, 30, 99, 0.6)); }
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.5s ease-out;
}

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

.hero-title {
    font-size: 3.0rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-soft) 0%, var(--primary-mint) 50%, var(--primary-silver) 100%);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: shimmer 3s ease-in-out infinite;
    position: relative;
}

.hero-title::after {
    content: '✨';
    position: absolute;
    top: 20px;
    right: -30px;
    font-size: 2rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.7; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 1; }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fadeInUp 1.5s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.5s ease-out 0.6s both;
}

.hero-buttons .btn {
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

.hero-buttons .btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4);
}
.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-primary);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold-primary);
}

.card-header {
    background: var(--bg-tertiary);
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.card-body {
    padding: 20px;
}

.card-title {
    color: var(--gold-primary);
    font-size: 1.2rem;
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    transition: var(--transition-normal);
}

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

.form-control::placeholder {
    color: var(--text-muted);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-section {
        padding: 70px 0 20px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .main-content {
        padding: 20px 0;
    }
}

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

/* ===== SECTIONS ===== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

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

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

/* Treatment Modal Styles */
.modal-content {
    border:  1px solid var(--gold-yellow);
    border-radius: 5px;
    box-shadow: 10px 8px 6px rgba(0, 0, 0, 0.1), 0 6px 18px rgba(255, 215, 0, 0.1) inset;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(125deg, var(--gold-light)20%, var(--gold-yellow) 30%, var(--gold-dark) 100%);
    border-bottom: var(--gold-dark) 2px solid;
}

/* Friendly modal styling to match service cards */
.modal-friendly {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 250, 250, 0.98) 100%);
    border-radius: 20px;
    border: 1px solid rgba(224, 224, 224, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 6px 18px rgba(255, 215, 0, 0.1) inset;
    overflow: hidden;
}

.modal-friendly .modal-header {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    border-bottom: none;
}

.modal-friendly .modal-footer {
    background: transparent;
    border-top: none;
}

.modal-friendly h4, .modal-friendly .fw-bold, .modal-friendly .text-muted {
    color: var(--text-primary);
}

.text-soft { color: var(--primary-soft); }

/* glowing accent for title */
#treatmentModalTitle {
    color: var(--primary-soft);
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* subtle hover/float entrance */
.modal-dialog {
    transform: translateY(-6px) scale(0.995);
    transition: transform 360ms cubic-bezier(.2,.9,.2,1), opacity 360ms ease;
}
.modal.show .modal-dialog {
    transform: translateY(0) scale(1);
}

/* backdrop softening transition */
.modal-backdrop {
    opacity: 0;
    background-color: rgba(255, 255, 255, 0.8) !important;
    transition: opacity 420ms ease;
}
.modal-backdrop.show { opacity: 1; }

/* ensure modal body text is readable on light background */
.modal-friendly .modal-body, .modal-friendly .modal-footer { color: var(--text-primary); }

/* small responsive tweak for very small screens */
@media (max-width: 420px) {
    .modal-image-wrap img { max-height: 140px; }
    #treatmentModalDescription { font-size: 0.95rem; }
}

#treatmentModalTitle {
    color: var(--gold-primary);
    font-weight: 600;
}

.modal-body img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

#treatmentModalDescription p {
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 576px) {
    .modal-dialog { max-width: 95%; }
}

/* Make modal image vertically centered and responsive */
.modal-image-wrap { display:flex; align-items:center; justify-content:center; }
.modal-image-wrap img { max-height: 220px; width: 100%; object-fit: cover; }

@media (max-width: 768px) {
    .modal-body .col-md-5, .modal-body .col-md-7 { flex: 0 0 100%; max-width: 100%; }
    .modal-image-wrap img { max-height: 180px; }
}