/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
}

/* Navigation */
.main-nav {
    background-color: #0f3460;
    border-bottom: 3px solid #e94560;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8em;
    font-weight: 900;
    color: #e94560;
    text-shadow: 0 0 10px rgba(233, 69, 96, 0.5);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: #e94560;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(233, 69, 96, 0.4);
}

/* Hero Header */
.hero-header {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #003b6f 0%, #0f3460 100%);
    margin: 0;
    border-bottom: 5px solid #e94560;
}

.hero-header h1 {
    font-size: 3em;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 20px rgba(233, 69, 96, 0.6);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(233, 69, 96, 0.4);
    }
    to {
        text-shadow: 0 0 20px rgba(233, 69, 96, 0.8), 0 0 30px rgba(233, 69, 96, 0.6);
    }
}

/* Intro Text */
.intro-text {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    color: #333;
}

.intro-text p {
    font-size: 1.15em;
    line-height: 1.8;
}

/* Main Container - CSS Grid */
.main-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1400px;
    margin: 60px auto;
    gap: 40px;
    padding: 0 20px;
}

.left-section,
.center-section,
.right-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-box {
    width: 100%;
    max-width: 400px;
    height: 400px;
    position: relative;
    background-color: rgba(255, 255, 255, 0.95);
    border: 4px solid #0f3460;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(233, 69, 96, 0.4);
}

.section-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
}

.warning-box {
    background-color: rgba(255, 255, 255, 0.95);
    border: 4px solid #e94560;
    border-radius: 8px;
    padding: 40px;
    max-width: 400px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.warning-box:hover {
    transform: scale(1.02);
}

.warning-box h2 {
    color: #e94560;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.warning-box p {
    font-size: 1em;
    color: #333;
    text-align: center;
    line-height: 1.8;
}

.tardis-link {
    text-decoration: none;
    display: block;
    width: 100%;
    cursor: pointer;
}

.tardis-box {
    border-color: #003b6f;
    border-width: 5px;
    position: relative;
    transition: all 0.4s ease;
}

.tardis-box:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 16px 40px rgba(0, 59, 111, 0.6);
}

.tardis-label {
    position: absolute;
    top: 15%;
    right: 10%;
    font-size: 2.5em;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    color: #003b6f;
    z-index: 10;
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.9);
}

/* Location Section */
.location-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    color: #333;
}

.location-section h2 {
    text-align: center;
    color: #003b6f;
    margin-bottom: 40px;
    font-size: 2.5em;
}

.location-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.map-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact-info h3 {
    color: #0f3460;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.contact-info p {
    margin-bottom: 25px;
    line-height: 1.8;
}

.contact-info a {
    color: #003b6f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #e94560;
}

.social-links {
    margin-top: 30px;
}

.social-link {
    display: inline-block;
    margin-right: 20px;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.2) rotate(5deg);
}

.social-icon {
    width: 40px;
    height: 40px;
}

/* Footer */
footer {
    background-color: #0f3460;
    border-top: 3px solid #e94560;
    margin-top: 80px;
    padding: 40px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.footer-contact,
.footer-social,
.footer-copy {
    color: #fff;
}

.footer-contact p,
.footer-copy p {
    margin: 10px 0;
}

.footer-contact a,
.footer-social a {
    color: #e94560;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover,
.footer-social a:hover {
    color: #fff;
}

.footer-social a {
    display: inline-block;
    margin: 0 15px;
    font-weight: 500;
}

/* Responsive Design - Mobile (640px and less) */
@media (max-width: 640px) {
    .nav-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-header h1 {
        font-size: 2em;
    }
    
    .intro-text {
        padding: 20px;
        margin: 20px 10px;
    }
    
    .intro-text p {
        font-size: 1em;
    }
    
    .main-container {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 40px auto;
    }
    
    .content-box {
        max-width: 100%;
        height: 300px;
    }
    
    .warning-box {
        padding: 20px;
        min-height: 300px;
    }
    
    .tardis-label {
        font-size: 1.8em;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .location-section h2 {
        font-size: 1.8em;
    }
}

/* Responsive Design - Desktop (641px and up) */
@media (min-width: 641px) {
    .main-container {
        grid-template-columns: repeat(3, 1fr);
    }
}