/* ===== CSS Variables ===== */
:root {
    --primary-color: #c9a227;
    --secondary-color: #1a1a2e;
    --dark-color: #0f0f1a;
    --light-color: #f5f5f5;
    --text-color: #333;
    --text-light: #777;
    --white: #ffffff;
    --success: #28a745;
    --danger: #dc3545;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #d4af37);
    color: var(--dark-color);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d4af37, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--dark-color);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
    background-image: url('https://images.unsplash.com/photo-1585747860715-2ba37e788b70?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 15, 26, 0.85) 0%, rgba(26, 26, 46, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--light-color);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-content .btn {
    animation: fadeInUp 1s ease 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Section Styles ===== */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ===== Services Section ===== */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--light-color);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-card .price {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 8px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.2rem;
}

/* ===== Team Section ===== */
.team {
    padding: 100px 0;
    background: var(--light-color);
}

.team-grid {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: stretch;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: nowrap !important;
}

.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    flex: 1 1 0;
    min-width: 280px;
    max-width: 350px;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    width: 100%;
    height: 350px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: var(--transition);
}

.team-card:hover .team-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-image i {
    font-size: 6rem;
    color: #555;
}

.team-info {
    padding: 25px 20px;
    background: var(--white);
}

.team-info h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-weight: 400;
}

.team-role {
    color: var(--primary-color);
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .team-grid {
        flex-wrap: wrap !important;
    }
    
    .team-card {
        flex: 0 0 calc(50% - 15px);
        min-width: auto;
        max-width: none;
    }
}

@media (max-width: 576px) {
    .team-card {
        flex: 0 0 100%;
    }
    
    .team-image {
        height: 280px;
    }
}
}

@media (max-width: 480px) {
    .team-card {
        flex: 0 0 100%;
    }
}

/* ===== Schedule Section ===== */
.schedule {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
    color: var(--white);
}

.schedule .section-title {
    color: var(--white);
}

.schedule-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.schedule-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-table tr:last-child {
    border-bottom: none;
}

.schedule-table td {
    padding: 15px 10px;
    font-size: 1rem;
}

.schedule-table td:first-child {
    font-weight: 500;
}

.schedule-table td:first-child i {
    color: var(--primary-color);
    margin-right: 10px;
}

.schedule-table td:last-child {
    text-align: right;
}

.status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status.open {
    background: rgba(40, 167, 69, 0.2);
    color: #5cb85c;
}

.status.closed {
    background: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
}

.current-status {
    text-align: center;
}

.status-indicator {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.status-indicator i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.status-indicator h3 {
    font-size: 1.2rem;
    color: var(--light-color);
    margin-bottom: 10px;
}

.status-indicator p {
    font-size: 2rem;
    font-weight: 700;
    color: var(--success);
}

.status-indicator.closed p {
    color: var(--danger);
}

/* ===== Appointment Section ===== */
.appointment {
    background: var(--white);
}

.appointment-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.appointment-form {
    background: var(--light-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
}

.form-group label i {
    color: var(--primary-color);
    margin-right: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
}

/* ===== Location Section ===== */
.location {
    background: var(--light-color);
}

.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card h3 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.info-card p {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: var(--secondary-color);
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-light);
    margin-top: 15px;
}

.footer-links h4,
.footer-social h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--light-color);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content .fa-check-circle {
    font-size: 5rem;
    color: var(--success);
    margin-bottom: 20px;
}

.modal-content h2 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.modal-content .note {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-style: italic;
}

#appointment-details {
    background: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: left;
}

#appointment-details p {
    margin-bottom: 8px;
    color: var(--text-color);
}

#appointment-details strong {
    color: var(--secondary-color);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--danger);
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .schedule-wrapper {
        grid-template-columns: 1fr;
    }
    
    .location-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--dark-color);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transform: translateX(-100%);
        transition: var(--transition);
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .appointment-form {
        padding: 25px;
    }
    
    .schedule-table td {
        padding: 10px 5px;
        font-size: 0.9rem;
    }
}
