/**
 * Main Stylesheet - ICRYSTAL Website
 * Brand colors: #cdae77, #171c3e, #0f2540, #ffffff, #173552
 */

/* ========== CSS Variables & Reset ========== */
:root {
    --color-primary: #cdae77;
    --color-primary-dark: #b89a5e;
    --color-secondary: #173552;
    --color-dark: #171c3e;
    --color-dark-soft: #0f2540;
    --color-gray: #6b7280;
    --color-light-gray: #e5e7eb;
    --color-light: #f9fafb;
    --color-white: #ffffff;
    --color-black: #111827;
    --color-slate: #0f2540;
    --border-subtle: rgba(229, 231, 235, 0.15);
    
    --font-family: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.6;
    --container-max-width: 1280px;
    --container-padding: 1.5rem;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --z-header: 100;
    --z-back-to-top: 90;
    --z-mobile-menu: 101;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-dark-soft);
    background-color: #f0f2f5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 100px;
}

.main-content {
    flex: 1 0 auto;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover {
    color: var(--color-primary-dark);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-dark);
    padding: 0.5rem 1rem;
    z-index: var(--z-header);
}
.skip-link:focus {
    top: 0;
    text-decoration: none;
}

/* ========== Header & Navigation ========== */
.site-header {
    background: #f4f4f4;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: var(--z-header);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.logo-img {
    height: 50px;
    width: auto;
}
.logo-area .site-title {
    display: none;
    color: var(--color-primary);
}

/* Desktop language switcher (hidden on mobile) */
.language-switcher-desktop {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    margin-left: 0.5rem;
    font-size: 0.9rem;
}
.language-switcher-desktop a {
    color: var(--color-dark);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background 0.2s;
    white-space: nowrap;  /* force single line */
}
.language-switcher-desktop a:hover {
    background: var(--color-light);
    color: var(--color-primary);
}
.language-switcher-desktop a.active-lang {
    color: var(--color-primary);
    font-weight: 600;
    border-bottom: 1px solid var(--color-primary);
}

/* Main Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--color--dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
    white-space: nowrap;  /* force single line */
}

.nav-link:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.nav-item.active .nav-link {
    color: var(--color-primary);
    font-weight: 600;
}

.nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}

/* Dropdown submenu (desktop) */
.menu-item-has-children {
    position: relative;
}
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    min-width: 200px;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 102;
}
.menu-item-has-children:hover .sub-menu,
.menu-item-has-children:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
}
.sub-menu li {
    padding: 0;
}
.sub-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--color-dark-soft);
    font-size: 0.9rem;
    text-decoration: none;
}
.sub-menu a:hover {
    background: var(--color-light);
    color: var(--color-primary);
}

/* User Area Buttons */
.user-area {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.login-btn, .register-btn, .logout-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 12px;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-block;
}
.login-btn {
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}
.login-btn:hover {
    background: var(--color-primary);
    color: var(--color-dark);
}
.register-btn {
    background: var(--color-primary);
    color: var(--color-dark);
}
.register-btn:hover {
    background: var(--color-primary-dark);
    color: var(--color-light-gray);
}
.logout-btn {
    background: var(--color-secondary);
    color: white;
}
.logout-btn:hover {
    background: var(--color-dark-soft);
}
.user-greeting {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

/* ========== Hero Section ========== */
.hero {
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-white) 100%);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--color-light-gray);
}
.hero h1 {
    margin-bottom: 0.5rem;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ========== Footer ========== */
.site-footer {
    background-color: #171c3e;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800' opacity='0.05'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1' d='M0,400 C150,400 200,300 300,300 C400,300 450,400 550,400 C650,400 700,300 800,300'/%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1' d='M0,500 C150,500 200,600 300,600 C400,600 450,500 550,500 C650,500 700,600 800,600'/%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1' d='M0,200 C150,200 200,100 300,100 C400,100 450,200 550,200 C650,200 700,100 800,100'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px;
    color: #ffffff;
    margin-top: auto;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 5% 40px;
}

/* ---------- TOP GRID (4 columns) ---------- */
.footer-top-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 60px;
}

/* Brand column */
.brand-col .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}
.bolt-icon svg {
    width: 36px;
    height: 36px;
}
.logo-text {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}
.highlight-o {
    color: #cdae77;
    position: relative;
    display: inline-block;
}
.brand-description {
    text-align: justify;
    color: #e5e7eb;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Link columns */
.col-header {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #cdae77;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.header-line {
    display: inline-block;
    width: 40px;
    height: 2px;
    background-color: #cdae77;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 16px;
}
.footer-links a::before {
    content: "-";
    position: absolute;
    left: 0;
    color: #cdae77;
}
.footer-links a:hover {
    color: #cdae77;
}

/* Social column */
.social-text {
    color: #e5e7eb;
    font-size: 0.85rem;
    margin-bottom: 20px;
    line-height: 1.5;
}
.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: transparent;
    transition: all 0.3s ease;
}
.social-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}
.social-icon:hover {
    background: #cdae77;
    border-color: #cdae77;
}
.social-icon:hover svg {
    color: #171c3e;
}

/* ---------- CONTACT CARDS (3 columns) ---------- */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid rgba(229, 231, 235, 0.3);
    transition: transform 0.2s ease;
}
.contact-card.highlighted {
    background: #cdae77;
    border: none;
}
.card-icon {
    width: 54px;
    height: 54px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.highlighted .card-icon {
    background: #171c3e;
}
.card-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}
.highlighted .card-icon svg {
    color: #cdae77;
}
.card-details {
    flex: 1;
}
.card-primary {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}
.card-secondary {
    font-size: 0.85rem;
    color: #e5e7eb;
    opacity: 0.9;
}
.highlighted .card-secondary {
    opacity: 0.85;
}
.contact-card:hover {
    transform: translateY(-3px);
}

/* ---------- BOTTOM SUB-FOOTER ---------- */
.sub-footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
}
.copyright {
    color: #e5e7eb;
}
.website-url {
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}
.footer-bottom-links a {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-bottom-links a:hover {
    color: #cdae77;
}
.footer-bottom-links {
    color: #e5e7eb;
}

/* ---------- RESPONSIVE (MOBILE) ---------- */
@media (max-width: 992px) {
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
@media (max-width: 768px) {
    .footer-top-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .brand-col .logo {
        justify-content: center;
    }
    .col-header {
        justify-content: center;
    }
    .footer-links a {
        display: inline-block;
    }
    .social-icons {
        justify-content: center;
    }
    .sub-footer {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom-links {
        order: 3;
    }
}

/* ========== Back to Top Button ========== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--color-primary);
    color: var(--color-dark);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    border: none;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: var(--z-back-to-top);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
}

/* ========== MOBILE HEADER & MENU ========== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 101;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-dark);
    transition: transform 0.2s, opacity 0.2s;
}
.hamburger {
    position: relative;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
}
.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Animate to X when open */
.mobile-menu-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile styles */
@media (max-width: 768px) {
    body {
        padding-top: 0px !important;
    }
    
    /* Header layout – CSS Grid for perfect centering */
    .header-inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 0.5rem;
        position: relative;
    }

    .logo-area {
        grid-column: 2 / 3;
        justify-self: center;
        text-align: center;
    }
    .logo-area .logo-link {
        display: inline-flex;
    }

    .mobile-menu-toggle {
        grid-column: 3 / 4;
        justify-self: end;
        display: block;
        width: 30px;
        height: 30px;
        background: none;
        border: none;
        z-index: 1001;
        position: relative;
        top: auto;
        right: auto;
        transform: none;
    }

    /* Hide the regular user-area in header */
    .user-area {
        display: none;
    }

    /* Hide desktop language switcher */
    .language-switcher-desktop {
        display: none;
    }

    /* Show mobile user menu inside the sliding panel */
    .mobile-user-menu {
        display: block;
        list-style: none;
        margin-top: 0.1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--color-light-gray);
    }
    .mobile-user-menu a,
    .mobile-user-menu .user-greeting-mobile {
        display: inline-block;
        margin-right: 1rem;
        font-size: 0.9rem;
        color: var(--color-dark);
    }
    .mobile-user-menu .user-greeting-mobile span {
        margin-right: 0.5rem;
    }
    .login-btn-mobile,
    .register-btn-mobile,
    .logout-btn-mobile {
        padding: 0.3rem 0.7rem;
        border-radius: 6px;
        font-weight: 500;
        text-align: center;
        margin-bottom: 10px;
    }
    .login-btn-mobile {
        color: var(--color-primary);
        border: 1px solid var(--color-primary);
    }
    .register-btn-mobile {
        background: var(--color-primary);
        color: var(--color-dark);
    }
    .logout-btn-mobile {
        background: var(--color-secondary);
        color: white;
    }

    /* Sliding menu panel */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 280px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        gap: 1rem;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;          /* higher than overlay */
        overflow-y: auto;
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-menu a {
        pointer-events: auto;
        display: block;
        padding: 0.5rem 0;
    }
    /* Submenu inside mobile menu – slide animation */
    .sub-menu {
        position: static;
        padding-left: 1rem;
        background: transparent;
        box-shadow: none;
        max-height: 0;
        overflow-y: hidden;
        opacity: 0;
        transition: max-height 0.3s ease-out, opacity 0.2s ease;
    }
    
    .menu-item-has-children.active-mobile .sub-menu {
        max-height: 300px;      /* adjust if your submenu has many items */
        opacity: 1;
    }
    /* Mobile submenu arrow – down by default */
    .menu-item-has-children > .nav-link::after {
        content: ' ▼';
        font-size: 0.7rem;
        transition: transform 0.2s;
    }
    
    /* When submenu is open, change arrow to up */
    .menu-item-has-children.active-mobile > .nav-link::after {
        content: ' ▲';
    }

    /* Mobile language switcher item inside menu */
    .mobile-lang-switcher {
        list-style: none;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--color-light-gray);
    }
    .mobile-lang-switcher a {
        display: inline-block;
        margin-right: 1rem;
        font-size: 0.9rem;
        color: var(--color-dark);
    }
    .mobile-lang-switcher a.active-lang {
        color: var(--color-primary);
        font-weight: 600;
    }
}

/* Desktop language switcher visible only above 768px */
@media (min-width: 769px) {
    .mobile-user-menu {
        display: none;
    }
    
    .mobile-lang-switcher {
        display: none;
    }
}

/* ========== DESKTOP FLOATING HEADER ========== */
@media (min-width: 769px) {
    .site-header {
        position: fixed;
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 60px);
        max-width: 1400px;
        background: rgba(240, 242, 245, 0.85);
        backdrop-filter: blur(12px);
        border-radius: 50px;
        box-shadow: none;                  /* no shadow by default */
        z-index: var(--z-header);
        padding: 0 2rem;
        transition: all 0.3s ease;
    }

    /* When scrolled – add shadow */
    .site-header.scrolled {
        top: 10px;
        background: rgba(240, 242, 245, 0.95);
        backdrop-filter: blur(16px);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    }
    
    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
    }

    /* Logo on the left – home button */
    .logo-area {
        flex-shrink: 0;
    }
    .logo-link {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    .logo-img {
        height: 40px;
        width: auto;
        transition: height 0.2s;
    }
    .site-title {
        display: none; /* hide text, only logo visible */
    }

    /* Navigation, user area, language switcher remain on the right */
    .main-nav {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }
    .nav-menu {
        display: flex;
        gap: 2rem;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .user-area {
        margin-left: 1rem;
    }
    .language-switcher-desktop {
        margin-left: 1rem;
    }

    /* Adjust menu items for floating look */
    .nav-link {
        color: var(--color-dark);
        font-weight: 500;
        padding: 0.5rem 0;
    }
}

/* ========== FULLSCREEN SLIDER (ENHANCED) ========== */
.fullscreen-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Dark overlay for text contrast */
.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

/* Slide content – centered left, large title */
.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 2;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    max-width: 600px;
    width: 90%;
}

.slide-content h2 {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: 500;
}

.slide-content h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--color-white);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.slide-number {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    border-left: 2px solid var(--color-primary);
    padding-left: 0.75rem;
}

/* Next slide thumbnail (right bottom) */
.next-slide-info {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    padding: 0.5rem;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: transform 0.2s;
}
.next-slide-info:hover {
    transform: translateY(-3px);
}
.next-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}
.next-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.next-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.next-number {
    font-size: 0.6rem;
    color: var(--color-white);
}
.next-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-light-gray);
    margin: 0;
    white-space: nowrap;
}

/* Navigation arrows */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 4px;
    transition: background 0.2s;
}
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-prev:hover,
.slider-next:hover {
    background: rgba(0,0,0,0.8);
}

/* Pagination dots – move to bottom center */
.slider-dots {
    display: none; /* Remove if want to show */
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}
.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}
.dot.active {
    background-color: var(--color-primary);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .slide-content h1 { font-size: 3rem; }
}
@media (max-width: 768px) {
    .slide-content {
        top: auto;
        bottom: 20%;
        transform: none;
        left: 5%;
        right: 5%;
    }
    .slide-content h1 { font-size: 2rem; }
    .next-slide-info { bottom: 15px; right: 15px; }
    .next-thumbnail { width: 40px; height: 40px; }
    .next-title { font-size: 0.7rem; }
}