/* Karlskoga Kliniken - Main Stylesheet - RESPONSIVE v2.0 */

@import url('https://fonts.googleapis.com/css2?family=Glacial+Indifference:wght@400;500;600;700&family=Raleway:wght@300;400;500;600;700&display=swap');

/* ===== CSS RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-accent: #EBE9E5;
    --primary-bg: #F3F2EF;
    --secondary-bg: #F3F2EF;
    --surface: #EBE9E5;
    --dark-text: #000;
    --light-text: #666;
    --border-light: #ddd;
    --hover-accent: #e0bd83;
    --transition: all 0.3s ease;

}

html, body {
    font-family: 'Raleway', sans-serif;
    color: var(--dark-text);
    background-color: var(--primary-bg);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: 'Glacial Indifference', sans-serif;
}

section, .category-card, .treatment-menu-trigger, .treatment-menu-list, .nav-dropdown, .footer, .map-container, .gallery img {
    background-color: var(--secondary-bg);
}

section {
    padding: 3rem 1rem;
}

.content-section {
    background-color: var(--secondary-bg);
}

.section-note {
    background-color: var(--primary-accent);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
    text-align: center;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: var(--primary-accent);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark-text);
    flex-shrink: 0;
}

.logo a {
    text-decoration: none;
    color: var(--dark-text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    max-height: 52px;
    width: auto;
    display: block;
}

.logo-text {
    display: inline-block;
    font-size: 1.6rem;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-logo {
    font-family: 'Glacial Indifference', sans-serif;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
    font-weight: 600;
}

.hero-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.hero-logo-file {
    max-width: 1000px;
    width: min(100%, 350px);
    height: auto;
    display: block;
    margin: 0 auto 1rem;
}

.hero-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 auto 1.5rem;
    text-align: center;
    max-width: 100%;
}

.hero-logo {
    max-width: 240px;
    margin: 0 auto;
}

.treatment-menu {
    position: relative;
    max-width: 420px;
    margin: 0 auto 1.5rem auto;
    z-index: 100;
}


.treatment-menu-trigger {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    background-color: var(--primary-accent);
    border: 1px solid var(--border-light);
    font-size: 1rem;
    font-family: 'Raleway', sans-serif;
    cursor: pointer;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.treatment-menu-trigger:hover {
    border-color: var(--dark-text);
    background-color: var(--secondary-bg);
}

.treatment-menu-trigger[aria-expanded="true"] {
    border-color: var(--dark-text);
    background-color: var(--secondary-bg);
}

.treatment-menu-list {
    display: none;
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    background-color: var(--primary-accent);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    z-index: 1000;
    list-style: none;
    padding: 0.5rem 0;
    max-height: 320px;
    overflow-y: auto;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.treatment-menu.open .treatment-menu-list,
.treatment-menu:hover .treatment-menu-list {
    display: block;
}

.treatment-menu-list li {
    padding: 0.95rem 1.2rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--dark-text);
    transition: background-color 0.2s ease;
}

.treatment-menu-list li:hover {
    background-color: var(--primary-bg);
}

@media (max-width: 768px) {
    .treatment-menu-list {
        position: static;
        box-shadow: none;
        border: 1px solid var(--border-light);
        max-height: none;
    }

    .treatment-menu.open .treatment-menu-list,
    .treatment-menu:hover .treatment-menu-list {
        display: block;
    }
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: 'Glacial Indifference', sans-serif;
}

/* Desktop Navigation */
nav {
    flex-grow: 1;
    margin-left: 2rem;
}

nav > ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    white-space: nowrap;
}

nav a:hover {
    color: var(--hover-accent);
}

/* Navigation Dropdown */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown > a::after {
    content: ' ▼';
    font-size: 0.7rem;
    margin-left: 0.35rem;
    transition: transform 0.2s ease;
}

.nav-item-dropdown:hover > a::after,
.nav-item-dropdown.active > a::after,
.nav-item-dropdown:focus-within > a::after {
    transform: rotate(180deg);
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-accent);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    list-style: none;
    padding: 0.5rem 0;
    min-width: 220px;
    z-index: 1000;
    margin-top: 0;
    animation: slideDown 0.2s ease;
    flex-direction: column;
    gap: 0;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown,
.nav-dropdown:hover {
    display: block;
}

.nav-dropdown li {
    margin: 0;
}

.nav-dropdown a {
    display: block;
    padding: 0.85rem 1.5rem;
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: normal;
}

.nav-dropdown a:hover {
    background-color: var(--hover-accent);
    color: var(--dark-text);
}

/* Mobile Navigation */
nav#mainNav {
    display: flex;
    flex-grow: 1;
    margin-left: 2rem;
}

nav#mainNav.active {
    display: flex;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-text);
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle:focus {
    outline: 2px solid var(--primary-accent);
    outline-offset: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 8rem 1.5rem;
    text-align: center;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(235, 233, 229, 0.25);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #f0f0f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: var(--primary-accent);
    color: var(--dark-text);
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.btn:hover {
    background-color: var(--hover-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--primary-accent);
    color: var(--dark-text);
}

.btn-secondary {
    background-color: #f5f5f5;
    border: 2px solid var(--primary-accent);
    color: var(--dark-text);
}

.btn-secondary:hover {
    background-color: var(--primary-accent);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ===== CATEGORIES GRID ===== */
.categories {
    background-color: #fff;
    padding: 2rem 1rem;
}

.categories-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background-color: var(--primary-bg);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--dark-text);
}

.category-card p {
    color: var(--light-text);
    font-size: 0.9rem;
    line-height: 1.5;
}

.category-card a {
    display: inline-block;
    margin-top: 1rem;
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-accent);
    transition: border-color 0.3s ease;
}

.category-card a:hover {
    border-color: var(--dark-text);
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--dark-text);
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
    font-weight: 600;
}

.section-text {
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ===== GALLERY ===== */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.treatment-select {
    width: 100%;
    max-width: 360px;
    margin: 0 auto 1.5rem auto;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    font-size: 1rem;
    background-color: #fff;
    font-family: 'Raleway', sans-serif;
    cursor: pointer;
}

.treatment-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin-bottom: 1rem;
}

/* ===== TREATMENTS ===== */
.treatments-list {
    margin: 1.5rem 0;
}

.treatment-item {
    background-color: var(--primary-bg);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 5px solid var(--primary-accent);
    border-radius: 5px;
    transition: var(--transition);
}

.treatment-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.treatment-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
    font-weight: 600;
}

.treatment-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-accent);
    margin-top: 0.5rem;
}

.treatment-duration {
    font-size: 0.85rem;
    color: var(--light-text);
    margin-top: 0.25rem;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.before-after img {
    width: 100%;
    border-radius: 5px;
}

/* ===== PRICE TABLE ===== */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background-color: var(--primary-bg);
    border-radius: 8px;
    overflow: hidden;
}

.price-table th {
    background-color: var(--primary-accent);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--dark-text);
    font-size: 0.9rem;
}

.price-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.price-table tr:hover {
    background-color: rgba(212, 196, 176, 0.1);
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-section {
    margin-top: 1rem;
}

.price-group-title {
    margin: 2rem 0 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--primary-accent);
    color: var(--dark-text);
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
}

/* ===== MAP ===== */
.map-container {
    margin: 1.5rem auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 900px;
    min-height: 320px;
    height: 420px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 992px) {
    .map-container {
        height: 380px;
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .map-container {
        min-height: 220px;
        height: 240px;
    }

    .map-container iframe {
        height: 100%;
    }
}

/* ===== REVIEWS ===== */
.reviews-container {
    margin: 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.review-card {
    background-color: var(--primary-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 5px solid var(--primary-accent);
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.review-card .stars {
    color: #ffc107;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.review-card .text {
    color: var(--light-text);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.review-card .author {
    font-weight: 600;
    color: var(--dark-text);
    font-size: 0.9rem;
}

/* ===== SOCIAL LINKS ===== */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--primary-accent) !important;
    color: var(--dark-text) !important;
    border-radius: 50%;
    font-size: 1.3rem;
    transition: var(--transition);
    text-decoration: none;
    min-height: 44px;
    min-width: 44px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.social-links a:hover {
    background-color: #d9ccbd;
    transform: translateY(-2px);
}

.social-links i {
    line-height: 1;
}

.social-links svg,
.social-links .social-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
}

.social-links a:focus {
    outline: 2px solid var(--primary-accent);
    outline-offset: 2px;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--primary-bg);
    color: var(--dark-text);
    padding: 2rem 1rem;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--dark-text);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--primary-accent);
}

.footer .social-links a {
    color: var(--dark-text) !important;
    background-color: var(--primary-accent) !important;
    border: 1px solid rgba(0,0,0,0.08);
}

.footer .social-links svg,
.footer .social-links .social-icon {
    width: 24px;
    height: 24px;
    fill: currentColor !important;
    display: block;
}

.footer .social-links svg path {
    fill: currentColor !important;
}

.footer-bottom {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--light-text);
}

/* ===== ADMIN PANEL ===== */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

.admin-header {
    margin-bottom: 2rem;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.admin-card {
    background-color: var(--primary-bg);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.admin-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.admin-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.admin-card a {
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.admin-card a:hover {
    color: var(--hover-accent);
}

/* ===== FORMS ===== */
form {
    background-color: var(--primary-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.form-group {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-text);
    font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 5px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
    color: #999;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M1 4l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2rem;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(212, 196, 176, 0.1);
    background-color: #fff;
}

.form-submit {
    background-color: var(--primary-accent);
    color: var(--dark-text);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
}

.form-submit:hover {
    background-color: var(--hover-accent);
    transform: translateY(-2px);
}

.form-submit:active {
    transform: translateY(0);
}

/* ===== ALERTS & MESSAGES ===== */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    border-left: 4px solid;
    font-size: 0.95rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left-color: #17a2b8;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-left-color: #ffc107;
}

/* ===== UTILITIES ===== */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

a:focus,
button:focus {
    outline: 2px solid var(--primary-accent);
    outline-offset: 2px;
}

/* ===== TABLET RESPONSIVE (992px and below) ===== */
@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
        align-items: center;
        position: relative;
    }

    .logo {
        flex: 1;
        min-width: 0;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        z-index: 1002;
        width: auto;
        min-width: 52px;
        height: 52px;
        min-height: 52px;
        border-radius: 14px;
        border: 1px solid rgba(0,0,0,0.12);
        background-color: rgba(255,255,255,0.95);
        font-size: 1rem;
        color: var(--dark-text);
        padding: 0 0.9rem;
    }

    .menu-toggle-icon i {
        font-size: 1.6rem;
        line-height: 1;
    }

    nav#mainNav {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        width: 100%;
        background-color: rgba(255,255,255,0.95);
        flex-direction: column;
        padding: 0;
        box-shadow: none;
        z-index: 1001;
        max-height: none;
        overflow: visible;
        margin-left: 0;
        border-top: 1px solid rgba(0,0,0,0.08);
    }

    nav#mainNav.active {
        display: flex !important;
    }

    .hero::before {
        display: none;
    }

    nav#mainNav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    nav#mainNav li {
        border-bottom: 1px solid var(--border-light);
    }

    nav#mainNav li:last-child {
        border-bottom: none;
    }

    nav#mainNav a {
        display: block;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        color: var(--dark-text);
    }

    .nav-dropdown {
        padding-left: 0;
    }

    .mobile-menu-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 998;
        opacity: 0;
        transition: opacity 0.25s ease;
        pointer-events: none;
    }

    .mobile-menu-backdrop.active {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }
}

/* ===== TABLET RESPONSIVE (768px and below) ===== */
@media (max-width: 768px) {
    html, body {
        font-size: 15px;
    }

    .header-container {
        padding: 0 0.75rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo img {
        max-height: 40px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    nav#mainNav {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        width: 100%;
        background-color: rgba(255,255,255,0.95);
        flex-direction: column;
        padding: 0.75rem 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1001;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        margin-left: 0;
        border-top: 1px solid rgba(0,0,0,0.08);
    }

    nav#mainNav.active {
        display: flex !important;
    }

    .mobile-menu-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 998;
        opacity: 0;
        transition: opacity 0.25s ease;
        pointer-events: none;
    }

    .mobile-menu-backdrop.active {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

    nav#mainNav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    nav#mainNav li {
        border-bottom: 1px solid var(--border-light);
    }

    nav#mainNav a {
        display: block;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .nav-dropdown {
        position: static;
        display: none;
        background-color: var(--primary-accent);
        border: none;
        border-left: 3px solid var(--dark-text);
        border-radius: 0;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
        animation: none;
        min-width: auto;
    }

    .nav-item-dropdown.active .nav-dropdown {
        display: block;
    }

    .nav-dropdown a {
        padding: 0.65rem 1.5rem 0.65rem 2.5rem;
        font-size: 0.9rem;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        padding: 4rem 1rem;
        min-height: 300px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .categories-grid,
    .reviews-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .price-table {
        font-size: 0.85rem;
    }

    .price-table th,
    .price-table td {
        padding: 0.5rem 0.75rem;
    }

    .before-after {
        grid-template-columns: 1fr;
    }

    .admin-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.75rem;
    }

    .admin-card {
        padding: 1rem;
    }

    form {
        padding: 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* ===== MOBILE RESPONSIVE (480px and below) ===== */
@media (max-width: 480px) {
    html, body {
        font-size: 14px;
    }

    .header-container {
        padding: 0.5rem;
    }

    .logo {
        font-size: 1rem;
    }

    .logo img {
        max-height: 35px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .hero {
        padding: 2rem 0.75rem;
        min-height: 250px;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        margin-top: 1rem;
        margin-bottom: 0.75rem;
    }

    .content-section {
        padding: 1rem 0.75rem;
    }

    .categories-grid,
    .gallery,
    .reviews-container {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .category-card,
    .treatment-item,
    .review-card {
        padding: 1rem;
    }

    .btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn-block {
        width: 100%;
    }

    .price-table {
        font-size: 0.8rem;
        margin: 1rem -0.75rem;
        width: calc(100% + 1.5rem);
    }

    .price-table th,
    .price-table td {
        padding: 0.5rem;
    }

    .map-container {
        min-height: 250px;
    }

    .admin-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .admin-card {
        padding: 0.75rem;
    }

    .admin-card h3 {
        font-size: 0.85rem;
    }

    form {
        padding: 0.75rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="date"],
    input[type="time"],
    textarea,
    select {
        padding: 0.65rem;
        font-size: 16px;
    }

    textarea {
        min-height: 100px;
    }

    .form-submit {
        padding: 0.65rem 1.5rem;
        width: 100%;
        font-size: 0.95rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        min-height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }

    footer {
        padding: 1.5rem 0.75rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-section h4 {
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
    }

    .footer-section a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
        margin-top: 1rem;
        padding-top: 1rem;
    }
}

/* ===== LARGE SCREENS (1200px and above) ===== */
@media (min-width: 1200px) {
    .header-container,
    .content-section,
    .admin-container,
    .footer-container {
        max-width: 1200px;
    }

    nav ul {
        gap: 2.5rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    header,
    footer,
    .menu-toggle,
    .btn {
        display: none;
    }

    body {
        background: white;
    }

    a {
        color: black;
        text-decoration: underline;
    }

    .content-section {
        page-break-inside: avoid;
    }
}

