@charset "UTF-8";
:root {
    --primary: #d4af37; /* Gold/Brass */
    --primary-hover: #fce28b;
    --secondary: #0a0a0a;
    --bg-gradient-start: #141414;
    --bg-gradient-end: #050505;
    --text-light: #fdfdfd;
    --text-muted: #aaaaaa;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --accent: #e53935;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth; /* Smooth scroll */
}

body {
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.6;
    min-width: 320px;
    overflow-x: hidden;
}

/* --- Loader Animation --- */
.loader-wrapper {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--secondary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Glassmorphism Utilities --- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 12px;
}

/* --- Ticker --- */
.news-ticker {
    background: #000;
    color: white;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--primary);
}
.ticker-label {
    background: var(--accent);
    padding: 8px 15px;
    font-weight: 800;
    z-index: 2;
    letter-spacing: 1px;
}
.ticker-content {
    overflow: hidden;
    white-space: nowrap;
    flex-grow: 1;
}
.ticker-content p {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 25s linear infinite;
}
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* --- Navbar (Responsive & Dropdown) --- */
.glass-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 5px;
}

.nav-links > li > a {
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: var(--transition);
    display: block;
}

.nav-links > li > a:hover {
    color: var(--secondary);
    background: var(--primary);
}

.caret {
    font-size: 0.8rem;
    margin-left: 3px;
    transition: transform 0.3s ease;
}

.dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    min-width: 200px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 10px 0;
}

.dropdown-menu.glass-panel {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown:hover .caret {
    transform: rotate(180deg);
}

.dropdown-menu a {
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    font-size: 0.95rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary);
    padding-left: 25px;
    border-left-color: var(--primary);
}

/* Mobile Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

@media (max-width: 1024px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        right: -100%;
        top: 112px; /* Header + Ticker height approx */
        flex-direction: column;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(15px);
        width: 300px;
        height: calc(100vh - 112px);
        padding: 30px;
        transition: right 0.4s ease;
        border-left: 1px solid var(--glass-border);
        overflow-y: auto;
    }
    .nav-links.active { right: 0; }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        display: none;
        padding-left: 15px;
    }
    .dropdown.active .dropdown-menu { display: block; }
}

/* --- Hero Section --- */
.hero {
    min-height: calc(100vh - 112px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 100px 40px 40px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
    z-index: -1;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--secondary);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* --- Widgets (Clock & Calendar) --- */
.widget-container {
    display: none; /* hidden, widgets are now separate */
}

.clock-top {
    position: absolute;
    top: 20px;
    left: 40px;
    z-index: 10;
}

.clock {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Courier New', Courier, monospace;
    padding: 15px 25px;
    text-align: center;
    letter-spacing: 2px;
}

.calendar-bottom {
    position: absolute;
    bottom: 20px;
    left: 40px;
    z-index: 10;
}

/* --- Weather Widget --- */
.weather-widget {
    position: absolute;
    top: 20px;
    right: 40px;
    z-index: 10;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 180px;
}
.weather-icon {
    font-size: 2rem;
    line-height: 1;
}
.weather-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.weather-temp {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Courier New', Courier, monospace;
}
.weather-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: capitalize;
}
.weather-city {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
}

.calendar-widget {
    padding: 20px;
    width: 250px;
}
.calendar-header h3 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
}
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 5px;
}
.calendar-days span {
    width: 25px;
    height: 25px;
    line-height: 25px;
    border-radius: 50%;
    font-size: 0.85rem;
    margin: auto;
}
.calendar-days .today {
    background: var(--primary);
    color: var(--secondary);
    font-weight: bold;
}

@media (max-width: 1024px) {
    .widget-container {
        position: relative;
        right: 0; bottom: 0;
        margin-top: 40px;
        align-items: center;
    }
    .hero-content h1 { font-size: 3rem; }
    .clock-top {
        position: relative;
        top: auto; left: auto;
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }
    .calendar-bottom {
        position: relative;
        bottom: auto; left: auto;
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    .weather-widget {
        position: relative;
        top: auto; right: auto;
        justify-content: center;
        margin-bottom: 15px;
    }
    .hero {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .hero-content h1 { font-size: 2rem; }
    .clock { font-size: 1.5rem; padding: 10px 15px; }
    .weather-widget { min-width: auto; padding: 10px 15px; }
    .weather-temp { font-size: 1.1rem; }
    .calendar-widget { width: 220px; padding: 12px; }
}

/* --- Main Content & Cards --- */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    min-height: 60vh;
}

.page-title {
    text-align: center;
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 800;
    position: relative;
    display: block;
    width: 100%;
}
.page-title::after {
    content: "";
    display: block;
    margin: 10px auto 0;
    width: 80px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.content-box {
    padding: 40px;
    margin-bottom: 30px;
    transition: var(--transition);
}
.content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border-color: rgba(212, 175, 55, 0.3);
}

.typography-content p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #ddd;
}

/* Image Placeholders */
.placeholder-img {
    background: rgba(255,255,255,0.05);
    border: 1px dashed rgba(212, 175, 55, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    border-radius: 8px;
    overflow: hidden;
}
.content-ph {
    width: 100%;
    height: 300px;
    margin: 30px 0;
}

/* Hover Zoom Effect */
.hover-zoom { transition: var(--transition); }
.hover-zoom:hover { transform: scale(1.02); }

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.gallery-item {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 12px;
    padding: 0; /* Override glass-panel padding if any */
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}
.gallery-overlay span {
    color: var(--secondary);
    background: var(--primary);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    transform: translateY(20px);
    transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay span { transform: translateY(0); }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.lightbox img {
    max-width: 90%; max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
}
.lightbox-close {
    position: absolute;
    top: 30px; right: 40px;
    color: white;
    font-size: 50px;
    cursor: pointer;
    transition: var(--transition);
}
.lightbox-close:hover { color: var(--primary); transform: rotate(90deg); }

/* --- Video --- */
.video-container {
    padding: 20px;
    text-align: center;
}
.video-container video {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    outline: none;
}
.video-info { margin-top: 20px; }
.video-info h3 { color: var(--primary); }

/* --- Video Card (Modern) --- */
.video-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    transition: var(--transition);
}
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border-color: rgba(212, 175, 55, 0.4);
}
.video-card video {
    width: 100%;
    display: block;
    border-radius: 12px 12px 0 0;
    box-shadow: none;
}
.video-card .video-card-body {
    padding: 25px 30px 30px;
}
.video-card .video-card-body h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
}
.video-card .video-card-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Image Slider --- */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 30px auto 0;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0,0,0,0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
}
.slider-track {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    overflow: hidden;
}
.slider-track img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}
.slider-track img.active {
    opacity: 1;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.slider-btn:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: translateY(-50%) scale(1.1);
}
.slider-btn.prev { left: 15px; }
.slider-btn.next { right: 15px; }
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.slider-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
}
.slider-dots span.active {
    background: var(--primary);
    transform: scale(1.3);
}
@media (max-width: 768px) {
    .hero-slider { border-radius: 10px; }
    .slider-btn { width: 36px; height: 36px; font-size: 1.1rem; }
    .slider-btn.prev { left: 8px; }
    .slider-btn.next { right: 8px; }
}

/* --- Forms --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
    transition: opacity 0.4s ease;
}

.input-container {
    position: relative;
    width: 100%;
}

.input-container input,
.input-container textarea {
    width: 100%;
    padding: 15px 15px 10px 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.input-container textarea {
    resize: vertical;
    min-height: 120px;
}

.input-container label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition);
    background: transparent;
}

/* Floating Label Animation */
.input-container input:focus ~ label,
.input-container textarea:focus ~ label,
.input-container input:not(:placeholder-shown) ~ label,
.input-container textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--primary);
    background: var(--secondary);
    padding: 0 5px;
    border-radius: 3px;
}

.input-container input:focus,
.input-container textarea:focus {
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* Validation Styles */
.input-container.error input,
.input-container.error textarea {
    border-color: var(--accent);
}
.input-container.error label {
    color: var(--accent);
}
.error-text {
    color: var(--accent);
    font-size: 0.8rem;
    position: absolute;
    bottom: -20px;
    left: 5px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.input-container.error .error-text {
    opacity: 1;
    visibility: visible;
}

/* Button Animations */
.form-btn {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
}
.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}
.form-btn.loading .btn-text {
    display: none;
}
.form-btn.loading .btn-loader {
    display: block;
}

/* Success Message */
.success-msg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.success-msg.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.success-icon {
    width: 60px; height: 60px;
    background: #4caf50;
    color: white;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
    animation: popIn 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards 0.3s;
    opacity: 0;
    transform: scale(0.5);
}

@keyframes popIn {
    to { opacity: 1; transform: scale(1); }
}

/* --- Sitemap --- */
.sitemap-list { list-style: none; columns: 2; gap: 40px; }
.sitemap-list li { margin-bottom: 15px; }
.sitemap-list a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}
.hover-underline {
    position: relative;
}
.hover-underline::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -2px; left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}
.hover-underline:hover::after { width: 100%; }
.hover-underline:hover { color: var(--primary); }

/* --- Footer --- */
.glass-footer {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    padding: 60px 40px 20px;
    margin-top: 50px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px;
}
.footer-section h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}
.footer-section a:hover { color: var(--primary); }

.visitor-counter {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
}
.counter-label { color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase; }
.counter-value {
    color: var(--primary);
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 3px;
}
.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

/* --- Floating Buttons --- */
.floating-btns {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    gap: 15px;
    z-index: 900;
}
.floating-btn {
    padding: 12px 20px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.floating-btn:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: translateY(-5px);
}
.floating-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
@media (max-width: 600px) {
    .floating-btns {
        bottom: 20px; left: 10px; right: 10px;
        justify-content: space-between;
        gap: 5px;
    }
    .floating-btn {
        padding: 10px 8px;
        font-size: 0.85rem;
        flex: 1;
        justify-content: center;
    }
}
#goUpBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px; height: 50px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    z-index: 900;
}
#goUpBtn.visible { opacity: 1; visibility: visible; }

/* --- Ad Popup --- */
.ad-popup-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.5s ease;
}
.ad-popup {
    width: 400px;
    padding: 30px;
    position: relative;
    text-align: center;
}
.close-ad {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}
.close-ad:hover { color: var(--accent); transform: rotate(90deg); }

/* --- Scroll Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Added for images inside placeholders */
.placeholder-img {
    padding: 0;
    border: none;
    background: transparent;
    position: relative;
}
.placeholder-img::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 8px;
}
.placeholder-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}


/* --- Typography Content Styles --- */
.typography-content {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    color: var(--text-light);
}
.typography-content h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 10px;
    display: inline-block;
}
.typography-content h4 {
    color: var(--secondary);
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
}
.typography-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}
.typography-content ul {
    list-style-type: square;
    margin-left: 20px;
    margin-bottom: 20px;
}
.typography-content ul li {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 10px;
}
.typography-content ul li strong {
    color: var(--primary);
}

/* ============================================
   MOBILE RESPONSIVE FIXES
   ============================================ */


/* Ticker fix for mobile */
@media (max-width: 768px) {
    .news-ticker {
        font-size: 0.75rem;
    }
    .ticker-label {
        padding: 6px 10px;
        font-size: 0.7rem;
    }
}

/* Content boxes - smaller padding on mobile */
@media (max-width: 768px) {
    main {
        padding: 30px 12px;
    }
    .content-box {
        padding: 18px;
    }
    .content-box:hover {
        transform: none; /* Disable hover lift on touch devices */
    }
    .page-title {
        font-size: 1.6rem;
    }
    .page-title::after {
        bottom: -6px;
    }
}

/* Typography content - readable on small screens */
@media (max-width: 768px) {
    .typography-content {
        padding: 18px;
        border-radius: 10px;
    }
    .typography-content h3 {
        font-size: 1.3rem;
        display: block;
    }
    .typography-content h4 {
        font-size: 1.1rem;
    }
    .typography-content p {
        font-size: 0.95rem;
        line-height: 1.7;
        text-align: left; /* justify looks bad on narrow screens */
        word-break: break-word;
    }
    .typography-content ul {
        margin-left: 12px;
    }
    .typography-content ul li {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* Image placeholders - auto height on mobile */
@media (max-width: 768px) {
    .content-ph {
        height: auto;
        min-height: 180px;
        margin: 15px 0;
    }
    .placeholder-img img {
        object-fit: cover;
    }
    .hover-zoom:hover {
        transform: none; /* No zoom on touch */
    }
}

/* Gallery grid - single column on small phones */
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Video card - full width on mobile */
@media (max-width: 768px) {
    .video-card {
        max-width: 100%;
        border-radius: 10px;
    }
    .video-card video {
        border-radius: 10px 10px 0 0;
    }
    .video-card .video-card-body {
        padding: 15px 18px 20px;
    }
    .video-card .video-card-body h3 {
        font-size: 1.1rem;
    }
    .video-card .video-card-body p {
        font-size: 0.85rem;
    }
    .video-card:hover {
        transform: none;
    }
}

/* Footer - stack columns on mobile */
@media (max-width: 768px) {
    .glass-footer {
        padding: 30px 15px 15px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .footer-section h3 {
        font-size: 1rem;
    }
    .visitor-counter {
        padding: 10px 15px;
    }
    .counter-value {
        font-size: 1.2rem;
    }
    .sitemap-list {
        columns: 1;
    }
}

/* Ad popup - fit screen on mobile */
@media (max-width: 600px) {
    .ad-popup {
        width: 90vw;
        padding: 20px;
    }
    .ad-popup h2 {
        font-size: 1.3rem;
    }
}

/* Nav links - prevent overflow on mobile */
@media (max-width: 1024px) {
    .glass-nav {
        padding: 10px 15px;
    }
    .nav-links {
        width: 280px;
    }
}

/* Floating buttons - compact on mobile */
@media (max-width: 400px) {
    .floating-btns {
        bottom: 10px;
        left: 5px;
        right: 5px;
    }
    .floating-btn {
        padding: 8px 5px;
        font-size: 0.75rem;
    }
    #goUpBtn {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
}

/* Widgets under slider - stack vertically on mobile */
@media (max-width: 600px) {
    .widgets-under-slider {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }
}
