/* ST. MICHAEL EXPLORER - MASTER STYLESHEET */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@300;400;600&display=swap');

:root {
    --gold: #D4AF37;
    --dark: #0a0a0a;
    --glass: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background: var(--dark);
    color: white;
    overflow-x: hidden;
}

/* NAVIGATION */
header {
    background: rgba(0,0,0,0.95);
    padding: 15px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid var(--gold);
}

header h1 { 
    font-family: 'Playfair Display', serif; 
    color: var(--gold); 
    font-size: 1.4rem; 
    margin: 0 0 10px 0; 
    letter-spacing: 2px;
}

nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
nav a { 
    color: white; 
    text-decoration: none; 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    font-weight: 600;
}

/* HERO SECTION */
.hero-clean {
    padding: 80px 20px;
    text-align: center;
    border-bottom: 2px solid var(--gold);
}

.hero-clean h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* GRID & CONTAINER */
.container { padding: 30px 5%; max-width: 1200px; margin: auto; }
.section-title { 
    font-family: 'Playfair Display', serif; 
    color: var(--gold); 
    text-align: center; 
    margin-bottom: 30px; 
    font-size: 1.8rem; 
}

.tour-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

/* TOUR CARDS */
.card {
    background: var(--glass);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-content { padding: 20px; }
.card-content h3 { font-family: 'Playfair Display', serif; margin: 0 0 10px 0; color: var(--gold); }
.card-content p { font-size: 0.9rem; color: #ccc; line-height: 1.5; }

/* ACTION BUTTONS */
button {
    background: var(--gold);
    color: black;
    border: none;
    padding: 14px 20px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
}

/* SPLASH SCREEN (FIXED & RESPONSIVE) */
#splash-screen {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.splash-logo {
    width: 220px; /* HD Desktop size */
    height: auto;
    margin-bottom: 30px;
    animation: reveal3D 1.5s ease-out forwards, pulseGlow 3s infinite ease-in-out 1.5s;
    opacity: 0;
}

.loader {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    border-top-color: var(--gold);
    animation: spin 0.8s linear infinite;
}

/* RESPONSIVE LAYOUT */
@media (min-width: 768px) {
    header { flex-direction: row; justify-content: space-between; }
    header h1 { margin-bottom: 0; font-size: 1.6rem; }
    .hero-clean { padding: 120px 20px; }
    .hero-clean h2 { font-size: 3.5rem; }
    .tour-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
    .tour-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 768px) {
    .splash-logo {
        width: 140px; /* Optimized mobile size */
    }
    .loader { width: 25px; height: 25px; }
}

/* ANIMATIONS */
@keyframes reveal3D {
    0% { opacity: 0; transform: translateY(30px) scale(0.8) rotateX(-25deg); }
    100% { opacity: 1; transform: translateY(0) scale(1) rotateX(0deg); }
}

@keyframes pulseGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.2)); }
    50% { filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.5)); }
}

@keyframes spin { to { transform: rotate(360deg); } }