/* CSS Variables - Updated Color Palette */
:root {
    --primary: #8B4513;
    --primary-dark: #654321;
    --primary-light: #A0522D;
    --accent: #D2691E;
    --accent-light: #FF7F50;
    --gold: #CD853F;
    --gold-dark: #A0522D;
    --gold-light: #DEB887;
    --black: #1a1a1a;
    --gray-dark: #2d2d2d;
    --gray: #6b6b6b;
    --gray-light: #f5f5f5;
    --white: #ffffff;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-poppins {
    font-family: 'Poppins', sans-serif;
}

/* Colors */
.text-gold {
    color: var(--primary);
}

.bg-gold {
    background-color: var(--primary);
}

.border-gold {
    border-color: var(--primary);
}

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

.bg-primary {
    background-color: var(--primary);
}

.border-primary {
    border-color: var(--primary);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Header Styles */
header {
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
}

.hero-overlay {
    z-index: 1;
}

.hero-image {
    z-index: 0;
    filter: brightness(0.7);
}

.hero-content {
    z-index: 2;
}

.scroll-indicator {
    z-index: 2;
}

/* Services Preview */
.services-preview {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.stat-number {
    font-family: 'Playfair Display', serif;
}

/* Footer */
.footer {
    background: var(--gray-dark);
}

.footer a {
    transition: color 0.3s ease;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--gray-dark) 0%, var(--black) 100%);
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-card-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
    aspect-ratio: 1;
    min-height: 250px;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-type {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Lightbox */
#lightbox-modal {
    display: flex;
}

#lightbox-modal.hidden {
    display: none;
}

.lightbox-content {
    position: relative;
}

#lightbox-image,
#lightbox-video {
    display: block;
}

#lightbox-close,
#lightbox-prev,
#lightbox-next {
    z-index: 10;
    cursor: pointer;
}

#lightbox-close:hover,
#lightbox-prev:hover,
#lightbox-next:hover {
    color: var(--primary);
}

/* Contact Form */
#contact-form input,
#contact-form textarea {
    transition: border-color 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.icon-box {
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary) !important;
}

.social-icon {
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
}

/* Language Switcher */
.lang-btn {
    border: 1px solid var(--gray);
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    font-size: 24px;
    position: relative;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.floating-btn.whatsapp {
    background: #25D366;
}

.floating-btn.whatsapp:hover {
    background: #20BA5A;
}

.floating-btn.maps {
    background: #4285F4;
}

.floating-btn.maps:hover {
    background: #357AE8;
}

.floating-btn-label {
    position: absolute;
    right: 70px;
    background: var(--black);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.floating-btn-label::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: var(--black);
}

.floating-btn:hover .floating-btn-label {
    opacity: 1;
}

@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn {
        width: 55px;
        height: 55px;
        font-size: 20px;
    }
    
    .floating-btn-label {
        display: none;
    }
}

/* Appointment Modal */
#appointment-modal {
    display: flex;
}

#appointment-modal.hidden {
    display: none;
}

#appointment-modal input[type="date"],
#appointment-modal input[type="time"] {
    font-family: 'Poppins', sans-serif;
}

#appointment-modal select {
    font-family: 'Poppins', sans-serif;
    appearance: none;
    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='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

