:root {
    --primary: #ff4f9a;
    --secondary: #ffb3d1;
    --accent: #d4af37;
    --accent-soft: #f3dca4;
    --dark: #0b0b0f;
    --light: #fff4f8;
    --surface: #ffffff;
    --gradient: linear-gradient(120deg, #0b0b0f 0%, #3b0f2a 45%, #ff4f9a 100%);
    --gradient-soft: linear-gradient(135deg, #fff4f8 0%, #fff0e6 50%, #fff7f1 100%);
    --shadow-strong: 0 20px 45px rgba(19, 9, 14, 0.18);
    --shadow-soft: 0 8px 22px rgba(19, 9, 14, 0.1);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-pill: 999px;
    --font-heading: "Playfair Display", "Times New Roman", serif;
    --font-body: "Manrope", "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    background-image:
        radial-gradient(circle at 20% 10%, rgba(255, 79, 154, 0.18), transparent 42%),
        radial-gradient(circle at 85% 15%, rgba(212, 175, 55, 0.16), transparent 38%),
        radial-gradient(circle at 25% 80%, rgba(255, 179, 209, 0.2), transparent 45%),
        radial-gradient(circle at 90% 85%, rgba(11, 11, 15, 0.12), transparent 50%);
    color: #1f1016;
    line-height: 1.6;
}

main {
    position: relative;
}

.site-header {
    background: var(--gradient);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 12px 30px rgba(15, 7, 12, 0.35);
    background-size: 200% 200%;
    animation: gradientShift 14s ease infinite;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    display: block;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

.logo img {
    width: 90px;
    height: 90px;
    border-radius: 18px;
    object-fit: contain;
    background: #0b0b0f;
    padding: 6px;
    border: 1px solid rgba(212, 175, 55, 0.6);
    box-shadow: 0 10px 24px rgba(19, 9, 14, 0.25);
}

.logo small {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
}

.admin-welcome {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: auto;
    margin-left: auto;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.admin-welcome span {
    font-size: 12px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.admin-welcome strong {
    color: #f3d36a;
    font-size: 17px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 18px;
}

.customer-panel {
    background: #0b0b0f;
    color: #fff;
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}

.customer-panel-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.customer-panel-title {
    font-weight: 700;
    letter-spacing: 0.4px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.customer-panel-title span {
    font-weight: 500;
    opacity: 0.8;
    font-size: 13px;
}

.customer-panel-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.customer-panel-actions a {
    color: #fff;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 79, 154, 0.9) 0%, rgba(212, 175, 55, 0.9) 100%);
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(19, 9, 14, 0.2);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.customer-panel-actions a:hover,
.customer-panel-actions a:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(19, 9, 14, 0.3);
}

.customer-panel-actions a.logout {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: none;
}

.nav-links a,
.dropbtn {
    color: white;
    text-decoration: none;
    font-weight: 500;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 10px;
    font-size: 16px;
    transition: color 180ms ease, opacity 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active,
.dropbtn:hover,
.dropbtn:focus-visible {
    opacity: 0.85;
}

.nav-links a.is-active {
    color: #fff;
    font-weight: 700;
    border-bottom: 2px solid #d4af37;
    opacity: 1;
}

.nav-links .admin-logout-link {
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    font-weight: 700;
}

.donate-btn {
    background: linear-gradient(135deg, #ff4f9a 0%, #d4af37 100%);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(255, 79, 154, 0.3);
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.donate-btn::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -40%;
    width: 45%;
    height: 220%;
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(20deg);
    animation: shineSweep 4.5s ease-in-out infinite;
    pointer-events: none;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    color: #1c1c1c;
    border-radius: 8px;
    min-width: 200px;
    border: 1px solid rgba(31, 16, 22, 0.12);
    box-shadow: 0 12px 30px rgba(31, 16, 22, 0.12);
    overflow: hidden;
    z-index: 10;
}

.dropdown-content a {
    color: #1c1c1c;
    display: block;
    padding: 12px 16px;
    transition: background 160ms ease, color 160ms ease;
}

.dropdown-content a:hover,
.dropdown-content a:focus-visible {
    background: #fff0f6;
    color: #3b0f2a;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content,
.dropdown.dropdown-open .dropdown-content {
    display: block;
}

.hero {
    background: linear-gradient(120deg, rgba(11, 11, 15, 0.95) 0%, rgba(59, 15, 42, 0.92) 55%, rgba(255, 79, 154, 0.88) 100%);
    background-size: 200% 200%;
    animation: gradientShift 16s ease infinite;
    color: white;
    padding: 80px 24px;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    align-items: center;
    animation: fadeUp 700ms ease both;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 16px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 24px;
}

.hero .cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.salon-snapshot {
    background: rgba(255, 255, 255, 0.97);
    color: #2a1320;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 20px 45px rgba(19, 9, 14, 0.28);
}

.salon-snapshot-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.salon-snapshot h2 {
    margin: 0;
    color: #3b0f2a;
    font-family: var(--font-heading);
    font-size: 28px;
}

.salon-snapshot-heading span {
    color: #80506b;
    font-size: 13px;
    font-weight: 600;
    text-align: right;
}

.salon-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #250d1b;
    aspect-ratio: 4 / 3;
}

.salon-carousel-slides,
.salon-carousel-slide,
.salon-carousel-slide img,
.salon-carousel-empty {
    width: 100%;
    height: 100%;
}

.salon-carousel-slide {
    display: none;
    margin: 0;
}

.salon-carousel-slide.is-active {
    display: block;
    animation: salonSlideIn 420ms ease both;
}

.salon-carousel-slide img {
    display: block;
    object-fit: cover;
}

.salon-carousel-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(circle at 75% 25%, rgba(212, 175, 55, 0.55), transparent 35%),
        linear-gradient(135deg, #301122 0%, #8b2856 100%);
}

.salon-carousel-empty strong {
    font-family: var(--font-heading);
    font-size: 24px;
}

.salon-carousel-empty span {
    font-size: 14px;
    opacity: 0.88;
}

.salon-carousel-control {
    position: absolute;
    top: 50%;
    z-index: 1;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: rgba(11, 11, 15, 0.56);
    color: #fff;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
    transform: translateY(-50%);
    transition: background 160ms ease, transform 160ms ease;
}

.salon-carousel-control:hover,
.salon-carousel-control:focus-visible {
    background: rgba(11, 11, 15, 0.82);
    transform: translateY(-50%) scale(1.08);
}

.salon-carousel-control.previous {
    left: 12px;
}

.salon-carousel-control.next {
    right: 12px;
}

.salon-carousel-dots {
    position: absolute;
    right: 0;
    bottom: 12px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 7px;
}

.salon-carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    cursor: pointer;
    transition: width 160ms ease, background 160ms ease;
}

.salon-carousel-dot.is-active {
    width: 24px;
    background: #fff;
}

.salon-snapshot-details {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    color: #5b263f;
    font-size: 14px;
    font-weight: 600;
}

.cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    color: #1f1016;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 20px rgba(19, 9, 14, 0.16);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn.outline {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    box-shadow: none;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(19, 9, 14, 0.22);
}

.section {
    padding: 60px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
    font-family: var(--font-heading);
}
.section p{
    text-align: center;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.94);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(31, 16, 22, 0.08);
    box-shadow: var(--shadow-soft);
    transition: transform 180ms ease, box-shadow 180ms ease;
    backdrop-filter: blur(6px);
}

.card:hover,
.card:focus-within {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.admin-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.admin-tabs a {
    padding: 10px 16px;
    border: 1px solid rgba(59, 15, 42, 0.16);
    border-radius: 999px;
    color: #3b0f2a;
    background: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.admin-tabs a:hover,
.admin-tabs a:focus-visible,
.admin-tabs a.is-active {
    color: #fff;
    background: linear-gradient(135deg, #ff4f9a 0%, #d4af37 100%);
    transform: translateY(-1px);
}

.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.admin-gallery-grid > .notice {
    grid-column: 1 / -1;
}

.admin-gallery-card {
    overflow: hidden;
    border: 1px solid rgba(31, 16, 22, 0.1);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.admin-gallery-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #fff0f6;
}

.admin-gallery-card > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
}

.admin-gallery-card p {
    margin: 0;
    color: #3b0f2a;
    font-size: 13px;
    text-align: left;
}

.image-delete-button {
    padding: 7px 10px;
    border: 0;
    border-radius: 8px;
    background: #8f234a;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

.image-delete-button:hover,
.image-delete-button:focus-visible {
    background: #6e1636;
}

.volunteer-card {
    text-align: center;
}

.volunteer-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 999px;
    margin: 0 auto 12px;
    display: block;
    border: 4px solid rgba(255, 79, 154, 0.22);
    background: #fff7fb;
}

.muted {
    opacity: 0.9;
}

.volunteer-showcase {
    max-width: 920px;
    margin: 36px auto 0;
    text-align: center;
}

.volunteer-showcase h3 {
    font-size: 22px;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.volunteer-showcase p {
    margin-bottom: 14px;
}

.form-wrap {
    background: linear-gradient(160deg, #ffffff 0%, #fff0f6 100%);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(31, 16, 22, 0.1);
    box-shadow: var(--shadow-soft);
    max-width: auto;
    margin-left: 10px;
}

.form-wrap label {
    display: block;
    margin: 14px 0 6px;
    font-weight: 500;
}

.form-wrap input,
.form-wrap select,
.form-wrap textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #d7ddeb;
    background: rgba(255, 255, 255, 0.95);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-wrap input:focus,
.form-wrap select:focus,
.form-wrap textarea:focus {
    outline: none;
    border-color: rgba(255, 79, 154, 0.75);
    box-shadow: 0 0 0 3px rgba(255, 79, 154, 0.18);
}

.split-layout {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 010px;
    grid-row-gap: 0px;

}

.split-layout.two-col {
    
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 010px;
    grid-row-gap: 0px;
    color: #3b0f2a;
}

.split-layout.two-col .card {
    text-align: center;
}

.checkbox-dropdown {
    border: 1px solid #d7ddeb;
    border-radius: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.94);
}

.checkbox-dropdown summary {
    cursor: pointer;
    list-style: none;
    font-weight: 600;
}

.checkbox-dropdown summary::-webkit-details-marker {
    display: none;
}

.checkbox-dropdown .checkbox-group {
    margin-top: 10px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 12px;
    margin: 12px 0;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff0f6;
    border-radius: 50%;
    color: #3b0f2a;
    text-decoration: none;
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

@media (max-width: 860px) {
    .split-layout.two-col {
        grid-template-columns: 1fr;
    }
}

.form-wrap button {
    margin-top: 16px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, #0b0b0f 0%, #ff4f9a 50%, #d4af37 100%);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(19, 9, 14, 0.25);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.form-wrap button:hover,
.form-wrap button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(19, 9, 14, 0.3);
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.table th,
.table td {
    padding: 12px;
    border-bottom: 1px solid #eef1f6;
}

.table thead th {
    background: #0b0b0f;
    color: #fff;
    letter-spacing: 0.3px;
}

.table select,
.table button {
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid rgba(31, 16, 22, 0.2);
    font-size: 13px;
}

.table button {
    background: linear-gradient(135deg, #ff4f9a 0%, #d4af37 100%);
    color: #fff;
    border: none;
    cursor: pointer;
}

.table .booking-delete-button {
    width: 100%;
    background: #8f234a;
}

.table .booking-delete-button:hover,
.table .booking-delete-button:focus-visible {
    background: #6e1636;
}

.customer-actions-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.table .customer-actions-form select {
    min-width: 170px;
}

.site-footer {
    background: linear-gradient(140deg, #0b0b0f 0%, #3b0f2a 100%);
    color: #fff;
    padding: 30px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin-right: 12px;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, #ff4f9a 0%, #d4af37 100%);
    color: #fff;
    padding: 12px 16px;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(19, 9, 14, 0.25);
    z-index: 200;
    opacity: 1;
    transform: none;
    transition: transform 120ms ease, filter 120ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    filter: brightness(0.95);
    transform: translateY(-2px);
    transition: transform 120ms ease, filter 120ms ease;
}

.notice {
    background: #ffe8f2;
    padding: 12px;
    border-radius: 12px;
    margin: 16px 0;
    border: 1px solid #f3dca4;
}

@media (max-width: 860px) {
    .admin-welcome {
        position: static;
        margin-left: auto;
        margin-right: 12px;
        font-size: 13px;
        transform: none;
        white-space: nowrap;
    }

    .admin-welcome span {
        display: none;
    }

    .salon-snapshot-details {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 16px;
        background: linear-gradient(140deg, rgba(11, 11, 15, 0.98) 0%, rgba(255, 79, 154, 0.9) 100%);
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        border-radius: 16px;
        display: none;
        width: 220px;
        box-shadow: 0 14px 30px rgba(19, 9, 14, 0.28);
    }

    .nav-links.show {
        display: flex;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background: #fff0f6;
        margin-top: 6px;
    }

    .appointment-menu {
        width: 100%;
    }

    .appointment-menu .dropbtn {
        width: 100%;
        text-align: left;
    }

    .appointment-menu .dropdown-content {
        width: 100%;
    }
}

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

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes salonSlideIn {
    from {
        opacity: 0;
        transform: scale(1.025);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shineSweep {
    0% {
        transform: translateX(-140%) rotate(20deg);
        opacity: 0;
    }
    40% {
        opacity: 0.6;
    }
    60% {
        opacity: 0.15;
    }
    100% {
        transform: translateX(220%) rotate(20deg);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
