/* 
========================================
   MÚZQUIZ WEBSITE - MAIN STYLESHEET
========================================
*/

/*
========================================
   1. COLOR VARIABLES & THEME
========================================
*/
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #d35400;
    --text-dark: #333;
    --text-medium: #555;
    --text-light: #666;
    --text-muted: #999;
    --bg-light: #f8f9fa;
    --bg-white: #fff;
    --border-radius-sm: 8px;
    --border-radius-md: 10px;
    --border-radius-lg: 15px;
    --border-radius-xl: 20px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 15px 30px rgba(0,0,0,0.15);
    --transition-base: all 0.3s ease;
}

/*
========================================
   2. TYPOGRAPHY & SECTION TITLES
========================================
*/
.section-title {
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

/*
========================================
   3. HERO SECTIONS
========================================
*/

/* Landing Page Hero */
.hero-section {
    background: var(--primary-gradient);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,122.7C1248,107,1344,85,1392,74.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 1;
    color: #f0f0f0;
}

.hero-buttons .btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-base);
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Details Page Hero */
.details-hero {
    background: var(--primary-gradient);
    color: white;
    padding: 3rem 2rem 2rem;
    margin: 0 -15px 2rem -15px;
    border-radius: 0 0 var(--border-radius-xl) var(--border-radius-xl);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.details-hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.details-hero-actions {
    margin-top: 1rem;
}

.details-hero-actions .btn {
    margin-right: 0.5rem;
}

/* Tourism Listing Page Header */
.page-header {
    background: var(--primary-gradient);
    color: white;
    padding: 3rem 0 2rem;
    margin-bottom: 2rem;
    border-radius: 0 0 var(--border-radius-xl) var(--border-radius-xl);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.page-header .container {
    padding-left: 2rem;
    padding-right: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-header p,
.page-subtitle {
    font-size: 1.1rem;
    color: #f0f0f0;
    opacity: 0.95;
    margin-bottom: 0;
}

/*
========================================
    4. CARD COMPONENTS
========================================
*/

/* Base Card Styles */
.card,
.tourism-card,
.feature-card {
    background: var(--bg-white);
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    overflow: hidden;
    height: 100%;
}

.card:hover,
.tourism-card:hover,
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-title {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.tourism-card .card-body,
.feature-card {
    padding: 1.5rem;
}

/* Feature Cards (Home Page) */
.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

/* Attraction Cards (Home Page) */
.attraction-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border-left: 4px solid var(--primary-color);
}

.attraction-card:hover {
    box-shadow: var(--shadow-lg);
    border-left-width: 6px;
}

.attraction-icon {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Event Info Card (Home Page) */
.event-info-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* Contact Items (Home Page) */
.contact-item {
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: var(--transition-base);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Related Cards (Details Pages) */
.related-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    overflow: hidden;
    height: 100%;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.related-card .card-title {
    color: #2c3e50;
    font-weight: 600;
}

/* 
========================================
   5. INFO GRIDS & ITEMS (Details Pages)
========================================
*/
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition-base);
}

.info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.info-item-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item-value {
    color: var(--text-dark);
    font-size: 1.1rem;
}

/*
========================================
   6. AMENITIES DISPLAY
========================================
*/
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.amenity-item {
    background: var(--bg-white);
    padding: 1rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-base);
}

.amenity-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.amenity-icon {
    font-size: 1.8rem;
}

.amenity-label {
    font-weight: 500;
    color: var(--text-dark);
}

/* Amenities List (for Restaurant pages) */
.amenities-list {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.amenities-list li {
    display: inline-block;
    margin-right: 0.5rem;
}

/*
========================================
   7. CONTENT SECTIONS
========================================
*/

/* About Section (Home Page) */
.about-section {
    background-color: var(--bg-white);
}

.about-image-placeholder {
    background: var(--primary-gradient);
    border-radius: var(--border-radius-lg);
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.about-image-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.about-image-placeholder p {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Description Section (Details Pages) */
.description-section {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.description-section h2 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.description-section p {
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Details Content Card */
.details-content {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

/* Header Image */
.details-header-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

/* Section Divider */
.section-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    margin: 2rem 0;
}

/* Related Section */
.related-section {
    margin-top: 3rem;
}

.related-section h2 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/*
========================================
   8. BUTTONS & ACTIONS
========================================
*/
.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-back {
    background: #6c757d;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-back:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: white;
}

/* Admin Actions */
.admin-actions {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: var(--border-radius-md);
    padding: 1rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-end;
}

/*
========================================
   9. RATING DISPLAY
========================================
*/
.rating-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
}

.rating-stars {
    color: #ffc107;
}

.rating-value {
    font-weight: 600;
    color: var(--text-dark);
}

.rating-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

/*
========================================
   10. LINKS & TYPOGRAPHY
========================================
*/
.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/*
========================================
   11. RESPONSIVE DESIGN
========================================
*/
@media (max-width: 768px) {
    /* Hero Sections */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-section {
        padding: 60px 20px;
    }
    
    .details-hero {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .details-hero h1 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 2rem 0 1.5rem;
    }
    
    .page-header .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    /* Images */
    .details-header-image {
        height: 250px;
    }
    
    /* Grids */
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    /* Actions */
    .admin-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .action-buttons {
        flex-direction: column;
    }
}
