:root {
    --primary-color: #031441; /* Deep navy blue from the poster text/logo */
    --secondary-color: #0d47a1; /* Royal blue */
    --accent-color: #1976d2; /* Lighter blue */
    --text-color: #ffffff;
    --dark-text: #031441;
    --bg-color: #f5f8fc;
    --card-bg: rgba(255, 255, 255, 0.9);
    --field-green: #4caf50;
    --transition-speed: 0.3s;
    --instagram-color: #e1306c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--dark-text);
    overflow-x: hidden;
}

h1, h2, h3, .pre-title, .subtitle {
    font-family: 'Montserrat', sans-serif;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.logo-text {
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2.2rem;
    font-style: italic;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1;
    display: flex;
    align-items: center;
    transform-origin: left center;
    animation: textGlowPulse 3s infinite alternate ease-in-out;
}

@keyframes textGlowPulse {
    0% {
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3), 0 0 5px rgba(255,255,255,0.1);
        transform: scale(1);
    }
    100% {
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3), 0 0 15px rgba(255,255,255,0.8), 0 0 25px rgba(13, 71, 161, 0.6);
        transform: scale(1.03);
    }
}

.logo-container .logo {
    height: 70px;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.5));
    transition: transform var(--transition-speed);
}

.logo-container .logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switch {
    display: flex;
    gap: 0.5rem;
    margin-right: 1rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--text-color);
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all var(--transition-speed);
}

.lang-btn.active, .lang-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color var(--transition-speed);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-speed);
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

.ig-link {
    background: rgba(255,255,255,0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.ig-link:hover {
    background: var(--instagram-color);
    color: white !important;
}

.ig-link:hover::after {
    display: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.4);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.6);
}

/* Centered Hero Section */
.centered-hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 4rem 5% 0;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top, #ffffff 0%, #e3f2fd 100%);
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 50% 20%, rgba(13, 71, 161, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(3, 20, 65, 0.05) 0%, transparent 40%);
    z-index: 1;
}

.centered-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 60%);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    z-index: 2;
    max-width: 900px;
    margin-bottom: 2rem;
}

.pre-title {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
}

.main-title {
    font-size: 5rem;
    line-height: 1;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0px rgba(0,0,0,0.1);
    font-weight: 900;
    font-style: italic;
}

.main-title .highlight {
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-color);
}

.subtitle {
    font-size: 1.2rem;
    background-color: var(--primary-color);
    color: var(--text-color);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    transform: skew(-10deg);
    font-weight: 700;
    text-transform: uppercase;
}

.hero-image-centered {
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    margin-top: 1rem;
    position: relative;
    perspective: 1000px;
}

.main-poster {
    width: 100%;
    height: auto;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
    border: 8px solid white;
    border-bottom: none;
    transform: rotateX(5deg);
    transform-origin: bottom;
    transition: transform 0.5s ease;
}

.hero-image-centered:hover .main-poster {
    transform: rotateX(0deg);
}

/* Slogan Ticker (Flash) */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 0;
    white-space: nowrap;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-size: 0; /* Remove whitespace gaps between inline-blocks */
    display: block;
}

.ticker {
    display: inline-block;
    -webkit-animation: ticker 40s linear infinite;
    animation: ticker 40s linear infinite;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    white-space: nowrap;
}

.ticker:hover {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    padding: 0 1rem;
    white-space: nowrap;
}

.ticker-logo {
    height: 28px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    vertical-align: middle;
    margin: 0 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

@-webkit-keyframes ticker {
    0% { -webkit-transform: translateX(0); transform: translateX(0); }
    100% { -webkit-transform: translateX(-100%); transform: translateX(-100%); }
}

@keyframes ticker {
    0% { -webkit-transform: translateX(0); transform: translateX(0); }
    100% { -webkit-transform: translateX(-100%); transform: translateX(-100%); }
}

/* Info Section (What is Flag) */
.info-section {
    padding: 6rem 5%;
    background-color: white;
    position: relative;
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
}

.info-text {
    flex: 1;
    min-width: 300px;
}

.info-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.info-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #444;
}

.info-highlights {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 5px solid var(--accent-color);
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(10px);
}

.highlight-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
}

.highlight-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.2rem;
    font-size: 1.2rem;
}

/* About Section */
.about-section {
    padding: 5rem 5%;
    text-align: center;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    color: var(--text-color);
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    text-transform: uppercase;
}

.about-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Categories Section */
.categories-section {
    padding: 5rem 5%;
    background-color: var(--bg-color);
    text-align: center;
    position: relative;
}

.section-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    font-weight: 500;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border-top: 5px solid var(--secondary-color);
    backdrop-filter: blur(10px);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    background-color: var(--primary-color);
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform var(--transition-speed);
}

.category-card:hover .category-img {
    transform: scale(1.05);
}

.logo-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    opacity: 0.85;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.category-desc {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 500;
}

.badge {
    background: var(--bg-color);
    color: var(--secondary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
}

.highlight-badge {
    background: #fce4ec;
    color: #d81b60;
}

/* CTA Section */
.cta-section {
    padding: 6rem 5%;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(13, 71, 161, 0.4) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-style: italic;
    text-transform: uppercase;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
}

.btn-secondary {
    display: inline-block;
    background-color: #ffffff;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.1rem;
    transition: all var(--transition-speed);
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
    margin-bottom: 3rem;
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: #ffffff;
    transform: scale(1.05);
}

.social-cta {
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

.social-cta p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.ig-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.ig-btn:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #010a20;
    color: var(--text-color);
    padding: 3rem 5%;
    text-align: center;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
    opacity: 0.8;
    transition: all var(--transition-speed);
}

.footer-logo:hover {
    opacity: 1;
}

footer p {
    margin: 0.5rem 0;
    color: #888;
}

.footer-ig {
    color: #ccc;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-ig:hover {
    color: var(--instagram-color);
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .main-title {
        font-size: 4rem;
    }
    .centered-hero {
        padding-top: 3rem;
    }
    .info-container {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        padding: 0.5rem 1rem;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo-container {
        gap: 0.5rem;
    }
    
    .logo-container .logo {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1rem;
        letter-spacing: 0;
    }
    
    .menu-toggle {
        display: flex;
        padding: 0;
    }
    
    .menu-toggle span {
        width: 25px;
    }
    
    .menu-toggle.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--primary-color);
        padding: 1.5rem 5%;
        box-shadow: 0 10px 15px rgba(0,0,0,0.2);
        gap: 1rem;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .lang-switch {
        margin-right: 0;
        justify-content: center;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .main-title {
        font-size: 3rem;
    }
    .pre-title {
        font-size: 1.2rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .cta-content h2 {
        font-size: 2rem;
    }
    .ig-link span {
        display: none;
    }
}
