/* Sidebar Responsive Toggle (Unified .active logic) */
@media (max-width: 1100px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 260px;
        height: 100vh;
        background: #191919;
        color: #fff;
        z-index: 1200;
        transition: transform 0.3s cubic-bezier(.4,0,.2,1);
        transform: translateX(-100%);
        box-shadow: 2px 0 12px rgba(0,0,0,0.15);
        display: flex;
        flex-direction: column;
    }
    .sidebar.active {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0 !important;
        transition: margin-left 0.3s cubic-bezier(.4,0,.2,1);
    }
    .sidebar.active ~ .main-content {
        margin-left: 260px !important;
    }
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.4);
        z-index: 1100;
        transition: opacity 0.3s;
        opacity: 0;
    }
    .sidebar-overlay.active {
        display: block;
        opacity: 1;
    }
}
.section-header .section-actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100%;
    margin: 0 auto;
}
.section-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 0;
    margin-bottom: 0;
}

.section-actions .btn {
    min-width: 140px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    padding: 0 18px;
}
.main-content, .content, .section, .table-container {
    overflow: hidden;
}
/* Existing styles */
* {
    box-sizing: border-box;
}
/* --- Appointments Page Styles (migrated from appointments.php) --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}
.modal.show {
    display: block !important;
}
.modal-content {
    background-color: #2a2a2a;
    margin: 5% auto;
    padding: 0;
}
.modal-header {
    background: linear-gradient(135deg, #d4af37, #b8972d);
    color: #1a1a1a;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}
.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    color: #1a1a1a;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}
.close-modal:hover {
    background-color: rgba(0,0,0,0.1);
}
.modal-body { padding: 30px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #d4af37;
}
.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #404040;
    border-radius: 8px;
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}
.form-control:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #404040;
}
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    background: none;
    outline: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
.btn:hover { opacity: 0.9; }
.btn:active { transform: scale(0.98); }
.btn-primary {
    background: linear-gradient(135deg, #d4af37, #b8972d);
    color: #1a1a1a;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}
.btn-outline {
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
}
.btn-outline:hover {
    background: #d4af37;
    color: #1a1a1a;
}
.alert {
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    display: none;
}
.alert-success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}
.alert-error {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}
@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
    .modal-content { margin: 10% auto; width: 95%; }
}
.status-select {
    padding: 8px 12px;
    border-radius: 6px;
    border: 2px solid #404040;
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 120px;
}
.status-select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
.status-select option {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 8px;
}
.notification-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}
.notification-option {
    background: #333;
    border: 2px solid #555;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.notification-option:hover:not(.disabled) {
    border-color: #d4af37;
    background: #404040;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}
.notification-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #222;
}
.notification-option.disabled .disabled-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(220, 53, 69, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 1px;
}
.notification-option i {
    font-size: 32px;
    color: #d4af37;
    margin-bottom: 10px;
    display: block;
}
.notification-option.whatsapp i { color: #25D366; }
.notification-option.sms i { color: #007bff; }
.notification-option h3 {
    margin: 10px 0 5px 0;
    color: #ffffff;
    font-size: 16px;
}
.notification-option p {
    margin: 0;
    color: #888;
    font-size: 12px;
}
/* Table and Responsive Styles */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}
.table-responsive table {
    min-width: 600px;
    width: 100%;
    border-collapse: collapse;
    background: #232323;
}
.table-responsive th, .table-responsive td {
    white-space: normal;
    padding: 10px 6px;
    font-size: 16px;
    word-break: break-word;
    vertical-align: middle;
}
.table-responsive th {
    text-align: center;
    white-space: pre-line;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.table-responsive th.actions-col {
    min-width: 48px;
    max-width: 60px;
    word-break: break-word;
    white-space: pre-line;
}
.table-responsive td {
    text-align: center;
    font-size: 16px;
}
.table-responsive th {
    text-align: center;
    white-space: pre-line;
    font-size: 13px;
}
.table-responsive td {
    text-align: center;
}
.table-responsive .action-btns {
    display: flex;
    gap: 4px;
    justify-content: center;
    flex-wrap: wrap;
}
.table-responsive .action-btns button, .table-responsive .action-btns .btn {
    padding: 2px 6px;
    font-size: 12px;
    min-width: 28px;
    min-height: 28px;
}
.table-responsive tr:nth-child(even) {
    background: #232323;
}
.table-responsive tr:nth-child(odd) {
    background: #181818;
}
.table-responsive th {
    position: sticky;
    top: 0;
    background: #191919;
    z-index: 2;
}
@media (max-width: 900px) {
    .table-responsive table, .table-responsive th, .table-responsive td { font-size: 12px !important; }
    .table-responsive th, .table-responsive td { padding: 6px 2px !important; }
    .action-buttons .action-btn { font-size: 12px !important; min-width: 18px !important; min-height: 18px !important; padding: 0 2px !important; }
    .action-buttons .fa { font-size: 13px !important; width: 13px !important; height: 13px !important; }
    .status-select { font-size: 13px !important; padding: 2px 4px !important; }
    td select.status-select { font-size: 13px !important; padding: 2px 4px !important; }
    td span[style*="font-size"] { font-size: 13px !important; }
    .table-responsive table { min-width: 300px; font-size: 12px; }
    .table-responsive th, .table-responsive td { font-size: 12px; padding: 6px 3px; }
    .table-responsive th { font-size: 13px; }
    .table-responsive .action-btns button, .table-responsive .action-btns .btn { font-size: 11px; min-width: 18px; min-height: 18px; padding: 0 2px; line-height: 1; }
    .table-responsive th.actions-col, .table-responsive td.actions-col { min-width: 24px; max-width: 28px; padding-left: 1px; padding-right: 1px; }
    .table-responsive .action-btns { gap: 1px; }
    .table-responsive .action-btns svg, .table-responsive .action-btns i { font-size: 13px !important; width: 13px; height: 13px; }
    .table-responsive .status, .table-responsive .Status, .table-responsive .status-col { font-size: 1em !important; font-weight: 500; font-family: inherit; margin: 0; padding: 0; display: block; }
}
@media (max-width: 600px) {
    .table-responsive table, .table-responsive th, .table-responsive td { font-size: 10px !important; }
    .table-responsive th, .table-responsive td { padding: 4px 1px !important; }
    .action-buttons .action-btn { font-size: 10px !important; min-width: 14px !important; min-height: 14px !important; padding: 0 1px !important; }
    .action-buttons .fa { font-size: 11px !important; width: 11px !important; height: 11px !important; }
    .status-select { font-size: 11px !important; padding: 1px 2px !important; }
    td select.status-select { font-size: 11px !important; padding: 1px 2px !important; }
    td span[style*="font-size"] { font-size: 11px !important; }
    .table-responsive table { min-width: 180px; font-size: 11px; }
    .table-responsive th, .table-responsive td { font-size: 11px; padding: 4px 1px; }
    .table-responsive th { font-size: 12px; }
    .table-responsive .action-btns button, .table-responsive .action-btns .btn { font-size: 10px; min-width: 15px; min-height: 15px; padding: 0 1px; line-height: 1; }
    .table-responsive th.actions-col, .table-responsive td.actions-col { min-width: 18px; max-width: 22px; padding-left: 1px; padding-right: 1px; }
    .table-responsive .action-btns { gap: 0.5px; }
    .table-responsive .action-btns svg, .table-responsive .action-btns i { font-size: 11px !important; width: 11px; height: 11px; }
    .table-responsive .status, .table-responsive .Status, .table-responsive .status-col { font-size: 1em !important; font-weight: 500; font-family: inherit; margin: 0; padding: 0; display: block; }
}
/* --- End Appointments Page Styles --- */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.gold-border {
    position: relative;
}

.gold-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #e6c260, transparent);
}

.gallery-item {
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.1);
}

.gallery-item:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

.testimonial-card {
    background: linear-gradient(145deg, #1a120b, #2a211a);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(230, 194, 96, 0.2);
}

.appointment-form input, 
.appointment-form textarea, 
.appointment-form select {
    background: rgba(26, 18, 11, 0.7);
    border: 1px solid rgba(230, 194, 96, 0.3);
    color: #f9e9c2;
}

.appointment-form input:focus, 
.appointment-form textarea:focus, 
.appointment-form select:focus {
    border-color: #e6c260;
    outline: none;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.whatsapp-btn {
    background-color: #25d366;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

.whatsapp-text {
    position: fixed;
    right: 110px;
    bottom: 50px;
    background: #25d366;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 99;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-container {
    overflow: hidden;
    border-radius: 12px;
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-icon {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
