/* ===========================
   COMPONENT STYLES
   =========================== */

/* === SERVICE CARDS === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 12px 40px rgba(168, 159, 132, 0.25);
    border-color: var(--color-primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark-brown) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-white);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.service-description {
    color: var(--color-neutral);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.service-link:hover {
    gap: 0.75rem;
}

/* === EVENT CARDS & CAROUSEL === */
.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.carousel {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

.event-card {
    flex: 0 0 calc(33.333% - 1.35rem);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.event-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.event-card:hover .event-image-placeholder {
    transform: scale(1.1);
}

.event-image {
    overflow: hidden;
}

.event-image-placeholder {
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.event-image {
    height: 200px;
    overflow: hidden;
}

.event-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    background-size: cover;
    background-position: center;
    position: relative;
}

.event-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(39, 39, 37, 0.7) 0%, rgba(63, 45, 11, 0.7) 100%);
}

.event-image-placeholder i {
    position: relative;
    z-index: 1;
}

.event-content {
    padding: 1.5rem;
}

.event-title {
    font-size: 1.4rem;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.event-description {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-primary);
    color: var(--color-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--color-white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: -25px;
}

.carousel-btn-next {
    right: -25px;
}

/* === STATS === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 2rem 1rem;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 0.5rem;
    position: relative;
}

.stat-number .highlight-accent {
    font-size: 1em;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(168, 159, 132, 0.6);
    }
    50% {
        text-shadow: 0 0 30px rgba(168, 159, 132, 0.9), 0 0 40px rgba(168, 159, 132, 0.6);
    }
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* === CTA SECTION === */
.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--color-white);
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === FORMS === */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-dark);
    font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--color-white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(168, 159, 132, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.form-error {
    display: block;
    color: #d32f2f;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.form-note {
    font-size: 0.85rem;
    color: var(--color-neutral);
    margin-top: 1rem;
    text-align: center;
}

/* === BOOKING PAGE === */
.booking-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.booking-form-container {
    background: var(--color-white);
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.form-section {
    margin-bottom: 2.5rem;
}

.form-section-title {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-primary);
}

.form-actions {
    margin-top: 2rem;
}

.btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.success-message {
    text-align: center;
    padding: 3rem;
}

.success-icon {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 1.5rem;
}

.success-title {
    font-size: 2rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.success-text {
    font-size: 1.1rem;
    color: var(--color-neutral);
    margin-bottom: 2rem;
}

/* === BOOKING SIDEBAR === */
.booking-sidebar {
    position: sticky;
    top: 100px;
}

.info-card {
    background: var(--color-light-gray);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--color-primary);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.info-title {
    font-size: 1.15rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.info-text {
    font-size: 0.95rem;
    color: var(--color-neutral);
    line-height: 1.6;
}

.info-link {
    display: block;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 0.5rem;
    transition: var(--transition-fast);
}

.info-link:hover {
    color: var(--color-dark-brown);
}

/* === CONTACT PAGE === */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-card {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.contact-card:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark-brown) 100%);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-title {
    font-size: 1.25rem;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.contact-text {
    color: var(--color-neutral);
    margin-bottom: 0.25rem;
}

.contact-link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition-fast);
}

.contact-link:hover {
    color: var(--color-dark-brown);
}

.contact-note {
    font-size: 0.9rem;
    color: var(--color-neutral);
    opacity: 0.8;
}

.social-links-large {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link-large {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all var(--transition-normal);
}

.social-link-large:hover {
    background: var(--color-dark);
    color: var(--color-primary);
    transform: translateY(-5px);
}

.quick-contact-form {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.form-heading {
    font-size: 2rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.form-subheading {
    color: var(--color-neutral);
    margin-bottom: 2rem;
}

/* === MAP === */
.map-section {
    padding: 0;
}

.map-header {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--color-light-gray);
}

.map-container {
    width: 100%;
    height: 500px;
}

.map-fallback {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--color-light-gray);
}

/* === ABOUT PAGE === */
.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-title {
    font-size: 2.5rem;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.1rem;
    color: var(--color-neutral);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark-brown) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.3);
    background-size: cover;
    background-position: center;
    position: relative;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 159, 132, 0.3) 0%, rgba(63, 45, 11, 0.3) 100%);
}

.image-placeholder i {
    position: relative;
    z-index: 1;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--color-primary);
    color: var(--color-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.value-title {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.value-text {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark-brown) 100%);
    color: var(--color-white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.feature-text {
    color: var(--color-neutral);
    line-height: 1.7;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .carousel-track {
        gap: 1.5rem;
    }

    .event-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .booking-layout,
    .contact-layout,
    .about-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .booking-form-container,
    .quick-contact-form {
        padding: 2rem;
    }

    .booking-sidebar {
        position: static;
    }

    .event-card {
        flex: 0 0 100%;
    }

    .carousel-btn-prev {
        left: 10px;
    }

    .carousel-btn-next {
        right: 10px;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .map-container {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .booking-form-container,
    .quick-contact-form {
        padding: 1.5rem;
    }
}
