/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    color: #2c3e50;
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
}

/* Image Preloader */
.image-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
    color: white;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.loading-text {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.8;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fullscreen Hero Section */
.fullscreen-hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(44, 62, 80, 0.3), rgba(44, 62, 80, 0.7)), url('img_cover.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
}

.fullscreen-hero.scrolled {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.fullscreen-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.fullscreen-tagline {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 200;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
    animation: fadeInUp 1s ease-out 0.5s both;
    line-height: 1.2;
}

.fullscreen-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out 0.8s both;
    font-weight: 300;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1s ease-out 1.5s both, bounce 2s infinite 2.5s;
    cursor: pointer;
}

.scroll-text {
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Sticky Header */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 0.75rem 0;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.sticky-header.visible {
    transform: translateY(0);
}

.sticky-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sticky-logo {
    font-size: 1.8rem;
    font-weight: 300;
    color: #2c3e50;
    letter-spacing: 3px;
}

.sticky-language-switcher {
    display: flex;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 0.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #dee2e6;
}

.sticky-language-switcher .lang-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    color: #6c757d;
}

.sticky-language-switcher .lang-btn.active {
    background: #2c3e50;
    color: white;
}

.sticky-language-switcher .lang-btn:hover:not(.active) {
    background: #e9ecef;
    color: #2c3e50;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
    margin-top: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding-top: 0;
}

/* Header and Language Switcher */
.header {
    padding: 1rem 0;
    text-align: center;
    position: relative;
}

.language-switcher {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 6px;
    padding: 0.25rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 3;
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.lang-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Layout */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
}

/* Hero Section */
.hero {
    text-align: center;
    background: linear-gradient(rgba(44, 62, 80, 0.4), rgba(44, 62, 80, 0.8)), url('img_cover.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    padding: 5rem 2rem 4rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(255,255,255,0.6), rgba(255,255,255,0.3));
    border-radius: 8px 8px 0 0;
}

.logo {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 300;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: 8px;
    text-transform: uppercase;
    font-family: 'Segoe UI', sans-serif;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Building Introduction */
.building-intro {
    background: white;
    border-radius: 8px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
}

.building-intro h2 {
    color: #2c3e50;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
    text-align: center;
    font-weight: 300;
    letter-spacing: 1px;
    position: relative;
}

.building-intro h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #2c3e50;
}

/* Intro Text */
.intro-text {
    margin-bottom: 3rem;
}

.intro-text p {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Visual Showcase */
.visual-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.showcase-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.showcase-header {
    padding: 1.5rem 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.showcase-header h4 {
    color: #2c3e50;
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.expand-hint {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Location Showcase */
.location-showcase {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.location-showcase:hover {
    transform: scale(1.02);
}

.location-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.clickable-image {
    cursor: pointer;
}

.location-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(44, 62, 80, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.expand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.location-showcase:hover .expand-overlay {
    opacity: 1;
}

.expand-icon {
    width: 48px;
    height: 48px;
    stroke: white;
    stroke-width: 2;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

/* Map Showcase */
.map-showcase {
    height: 300px;
    position: relative;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0 2rem;
}

.feature {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    position: relative;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #2c3e50;
    border-radius: 8px 8px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature:hover {
    background: #f8f9fa;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #2c3e50;
}

.feature-icon {
    width: auto;
    height: 48px;
    margin-bottom: 1rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.feature h3 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Actions Section */
.actions {
    background: white;
    border-radius: 8px;
    padding: 3rem 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
}

/* PDF Download */
.pdf-download {
    text-align: center;
    margin-bottom: 2rem;
}

.pdf-download h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.pdf-download p {
    color: #6c757d;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.language-notice {
    background: transparent;
    border: none;
    padding: 0.5rem 0;
    margin: 0.5rem 0 0;
    text-align: center;
}

.language-notice .notice-text {
    margin: 0;
    color: #95a5a6;
    font-size: 0.8rem;
    font-weight: 400;
    font-style: italic;
}

.pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #2c3e50;
}

.pdf-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.pdf-btn:hover {
    background: transparent;
    color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.15);
}

/* Email Signup */
.email-signup {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid #dee2e6;
}

.email-signup h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 300;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.email-signup p {
    text-align: center;
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.email-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: 0.875rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.email-input:focus {
    outline: none;
    border-color: #2c3e50;
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.1);
}

.email-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: #2c3e50;
    color: white;
    border: 2px solid #2c3e50;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.email-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.email-btn:hover {
    background: transparent;
    color: #2c3e50;
    transform: translateY(-1px);
}

.privacy-note {
    font-size: 0.8rem;
    color: #7f8c8d;
    text-align: center;
    margin-top: 0.5rem;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .hero {
        padding: 2rem 1rem;
        margin-bottom: 1rem;
    }
    
    .building-intro, .actions {
        padding: 1.5rem;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .location-showcase {
        order: -1;
        max-width: 100%;
    }
    
    .language-switcher {
        position: static;
        margin: 0 auto 1rem;
        width: fit-content;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .email-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .email-input {
        min-width: auto;
    }
}

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

.hero, .building-intro, .actions {
    animation: fadeInUp 0.6s ease-out;
}

.building-intro {
    animation-delay: 0.2s;
}

.actions {
    animation-delay: 0.4s;
}

/* Map Wrapper */
.map-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    background: #f8f9fa;
    height: 100%;
}

.map {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.map iframe {
    border-radius: 12px;
}

/* Map Overlay */
.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.map-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.map-marker {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.map-details {
    font-size: 0.9rem;
    line-height: 1.3;
}

.map-details strong {
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.map-directions-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.map-directions-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Location Highlights */
.location-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.highlight {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.highlight:hover {
    background: #e8f4fd;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(52, 152, 219, 0.15);
}

.highlight-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.highlight-text {
    flex: 1;
}

.highlight-text strong {
    display: block;
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.highlight-text span {
    color: #666;
    font-size: 0.9rem;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close-btn:hover {
    color: #3498db;
}

.modal-caption {
    color: white;
    text-align: center;
    margin-top: 1rem;
    font-size: 1.1rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .visual-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .showcase-header {
        padding: 1rem;
    }
    
    .location-showcase, .map-showcase {
        height: 250px;
    }
    
    .map-overlay {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }
    
    .map-directions-btn {
        align-self: stretch;
        text-align: center;
    }
    
    .location-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .highlight {
        padding: 1rem;
    }
    
    /* Fullscreen Hero Mobile */
    .fullscreen-hero {
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: scroll !important;
    }
    
    .fullscreen-hero::before {
        background: linear-gradient(180deg, 
            rgba(0,0,0,0.3) 0%, 
            rgba(0,0,0,0.5) 50%, 
            rgba(0,0,0,0.7) 100%) !important;
    }
    
    .fullscreen-content {
        padding: 0 1.5rem !important;
    }
    
    .fullscreen-hero .language-switcher {
        top: 1rem;
        right: 1rem;
        padding: 0.2rem;
    }
    
    .fullscreen-tagline {
        font-size: clamp(1.4rem, 5vw, 2.2rem) !important;
        letter-spacing: 1px !important;
        margin-bottom: 1rem !important;
    }
    
    .fullscreen-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.2rem) !important;
    }
    
    .scroll-indicator {
        bottom: 2rem;
    }
    
    .sticky-header .container {
        padding: 0 1rem;
    }
    
    .sticky-logo {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }
}
