/* assets/css/style.css */

/* ==========================================
   1. RESET & VARIABLE DEFINITIONS
   ========================================== */
:root {
    --primary: #0d5235;        /* Deep Emerald Green */
    --primary-light: #157347;  /* Muted Green */
    --primary-ultra-light: #e8f5e9;
    --accent: #c59b27;         /* Spiritual Premium Gold */
    --accent-hover: #ad841d;
    --bg-light: #fcfbfa;       /* Pristine Warm White */
    --bg-card: #ffffff;        /* Pure White */
    --text-main: #1e293b;      /* Slate 800 */
    --text-muted: #64748b;     /* Slate 500 */
    --border: #e2e8f0;         /* Slate 200 */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
    --shadow-md: 0 10px 20px -5px rgba(13, 82, 53, 0.08);
    --shadow-lg: 0 20px 40px -10px rgba(13, 82, 53, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   2. TYPOGRAPHY & UTILITIES
   ========================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
}

p {
    font-size: 1rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    font-family: var(--font-body);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(13, 82, 53, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 82, 53, 0.3);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(197, 155, 39, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 155, 39, 0.3);
}

/* ==========================================
   3. HEADER & NAVIGATION
   ========================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(13, 82, 53, 0.15);
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary);
    background: var(--primary-ultra-light);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(13, 82, 53, 0.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 2px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
}

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

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

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

.btn-primary-nav {
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(13, 82, 53, 0.15);
}

.btn-primary-nav:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* Mobile Nav Open state */
.mobile-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    padding: 90px 30px 40px 30px;
    flex-direction: column;
    gap: 20px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.mobile-nav.open {
    right: 0;
}

.mobile-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.btn-mobile-basvuru {
    background-color: var(--primary);
    color: white !important;
    text-align: center;
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-top: 10px;
}

@media (max-width: 991px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-nav {
        display: flex;
    }
}

/* ==========================================
   4. HERO SLIDER SECTION
   ========================================== */
.hero-slider-section {
    height: 90vh;
    min-height: 550px;
    position: relative;
    overflow: hidden;
    margin-top: 78px;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s ease-in-out;
}

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

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: none;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    color: white;
    width: 90%;
    max-width: 800px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 75px;
    box-sizing: border-box;
}

.slide h2 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.2s;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8), 0 2px 4px rgba(0,0,0,0.6);
}

.slide p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    margin-bottom: 35px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.4s;
}

.slide .btn-primary {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.6s;
}

.slide.active h2, .slide.active p, .slide.active .btn-primary {
    transform: translateY(0);
    opacity: 1;
}

/* Slider Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    transition: var(--transition);
}

.slider-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Slider Indicators */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent);
    width: 28px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .hero-slider-section {
        height: 70vh;
    }
    
    .slide h2 {
        font-size: 2.2rem;
    }
    
    .slide p {
        font-size: 1rem;
    }
    
    .slider-nav {
        display: none;
    }
}

/* ==========================================
   5. INTERACTIVE 5-STORY BUILDING SECTION
   ========================================== */
.building-section {
    background-color: #f7f6f2;
}

.building-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 991px) {
    .building-layout {
        grid-template-columns: 1fr;
    }
}

/* The actual building illustration/list structure */
.building-visual {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    padding: 20px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

/* Architectural top roof */
.building-roof {
    height: 35px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    clip-path: polygon(10% 100%, 50% 0%, 90% 100%);
    margin: 0 auto;
    width: 85%;
    border-radius: 8px 8px 0 0;
}

.floor-row {
    background-color: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.floor-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 6px;
    background-color: var(--primary-light);
    opacity: 0;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    transition: var(--transition);
}

.floor-badge {
    background: var(--primary);
    color: white;
    font-weight: 800;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 8px rgba(13,82,53,0.15);
    flex-shrink: 0;
    border: 2px solid white;
}

.floor-info {
    flex-grow: 1;
}

.floor-info h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text-main);
}

.floor-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.floor-row .floor-icon {
    font-size: 1.4rem;
    color: var(--text-muted);
    transition: var(--transition);
}

/* Floor Active / Hover States */
.floor-row:hover {
    transform: translateX(5px);
    border-color: var(--primary-light);
    background-color: #f1f5f9;
}

.floor-row.active {
    background-color: var(--primary-ultra-light);
    border-color: var(--primary);
    transform: translateX(10px);
    box-shadow: var(--shadow-sm);
}

.floor-row.active::before {
    opacity: 1;
    background-color: var(--accent);
}

.floor-row.active .floor-badge {
    background: var(--accent);
    transform: scale(1.1);
}

.floor-row.active .floor-info h3 {
    color: var(--primary);
}

.floor-row.active .floor-icon {
    color: var(--accent);
    transform: rotate(360deg);
}

/* Display Pane (Right column on desktop, showing active floor details) */
.floor-display-panel {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.floor-display-img-container {
    height: 280px;
    position: relative;
    overflow: hidden;
    background-color: #f1f5f9;
}

.floor-display-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.floor-display-panel:hover .floor-display-img {
    transform: scale(1.05);
}

.floor-display-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(13, 82, 53, 0.85);
    backdrop-filter: blur(5px);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.floor-display-content {
    padding: 30px;
}

.floor-display-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.floor-display-desc {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.floor-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    background-color: var(--primary-ultra-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(13, 82, 53, 0.05);
}

/* Floor Content fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* ==========================================
   6. STATE APPRECIATION SECTION
   ========================================== */
.devlet-section {
    background: linear-gradient(135deg, #fcfbfa, #f5f3eb);
    position: relative;
}

.devlet-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 991px) {
    .devlet-layout {
        grid-template-columns: 1fr;
    }
}

.devlet-content {
    padding-right: 20px;
}

.devlet-badge {
    background-color: var(--primary-ultra-light);
    color: var(--primary);
    border: 1px solid rgba(13, 82, 53, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.devlet-badge i {
    color: var(--accent);
}

.devlet-content h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

.devlet-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.state-quotes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quote-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.quote-card::after {
    content: "\201C";
    position: absolute;
    top: 15px;
    right: 24px;
    font-size: 4rem;
    font-family: var(--font-heading);
    color: rgba(197, 155, 39, 0.15);
    line-height: 1;
}

.quote-text {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 12px;
}

.quote-author {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

.quote-title {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
}

/* Certificate/Appreciation image block */
.devlet-images {
    display: flex;
    justify-content: center;
    position: relative;
}

.devlet-card {
    background: white;
    border: 8px solid white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
    transition: var(--transition);
    max-width: 380px;
    width: 100%;
}

.devlet-card:hover {
    transform: rotate(0) scale(1.02);
}

.devlet-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* ==========================================
   7. EVENTS & GALLERY SECTION
   ========================================== */
.gallery-filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-item {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-ultra-light);
}

.gallery-media-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: #f1f5f9;
}

.gallery-media-wrapper img, .gallery-media-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-media-wrapper img {
    transform: scale(1.08);
}

.media-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(13, 82, 53, 0.85);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.gallery-item:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--accent);
    color: white;
}

.gallery-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gallery-info h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.gallery-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex-grow: 1;
}

.gallery-date {
    display: block;
    margin-top: 15px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================
   8. REGISTRATION APPLICATION FORM
   ========================================== */
.basvuru-section {
    background-color: var(--primary-ultra-light);
    position: relative;
}

.basvuru-container {
    max-width: 750px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.basvuru-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 30px;
    text-align: center;
}

.basvuru-header h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 8px;
}

.basvuru-header p {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}

.basvuru-form {
    padding: 40px;
}

@media (max-width: 768px) {
    .basvuru-form {
        padding: 24px;
    }
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .form-group.full-width {
        grid-column: span 1;
    }
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.form-group label span {
    color: #e11d48;
}

.form-control {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    outline: none;
    transition: var(--transition);
    background-color: #fafafa;
}

.form-control:focus {
    border-color: var(--primary);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(13, 82, 53, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Custom Checkbox styles */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox-group label a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.form-alert {
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-alert.success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-alert.error {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    font-size: 1.05rem;
}

/* ==========================================
   9. FOOTER SECTION & WHATSAPP FLOAT
   ========================================== */
.main-footer-section {
    background-color: #111e17; /* Very Dark Emerald Slate */
    color: rgba(255, 255, 255, 0.8);
    padding-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 50px 24px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 50px;
}

@media (max-width: 991px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-column h3 {
    color: white;
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 20px 0;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-2px);
    border-color: var(--accent);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
}

.footer-logo .logo-icon {
    font-size: 1.4rem;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.1);
}

.links-col ul {
    list-style: none;
}

.links-col ul li {
    margin-bottom: 12px;
}

.links-col ul li a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}

.links-col ul li a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.links-col ul li a i {
    font-size: 0.75rem;
    color: var(--accent);
}

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.contact-info-list li i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 3px;
}

.contact-info-list li span, .contact-info-list li a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.contact-info-list li a:hover {
    color: var(--accent);
}

/* Map frame inside footer */
.footer-map-container {
    width: 100%;
    height: 250px;
    filter: grayscale(0.5) invert(0.9) contrast(1.2); /* elegant dark map */
    opacity: 0.8;
    transition: var(--transition);
}

.footer-map-container:hover {
    filter: none;
    opacity: 1;
}

.footer-map-container iframe {
    width: 100%;
    height: 100%;
}

.sub-footer {
    background-color: #0c1510;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
}

.sub-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.diyanet-note {
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 768px) {
    .sub-footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-badge {
    position: absolute;
    right: 70px;
    background-color: white;
    color: var(--text-main);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    white-space: nowrap;
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateX(15px);
    transition: var(--transition);
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-badge {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
    
    .whatsapp-badge {
        display: none;
    }
}

/* ==========================================
   10. LIGHTBOX MODAL
   ========================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.open {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    color: white;
    font-size: 3rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1110;
}

.lightbox-close:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    width: 800px;
    text-align: center;
    color: white;
}

.lightbox-content img, .lightbox-content video {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.lightbox-content h4 {
    color: white;
    font-size: 1.4rem;
    margin-top: 15px;
    margin-bottom: 5px;
    font-family: var(--font-body);
    font-weight: 700;
}

.lightbox-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Lightbox Slideshow Navigation */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: none; /* Controlled by JS */
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 1110;
}

.lightbox-nav:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    .lightbox-prev {
        left: 15px;
    }
    .lightbox-next {
        right: 15px;
    }
}

/* 5 Column Grid Layout for Gallery Pages */
@media (min-width: 992px) {
    .gallery-page-grid {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

/* Album badge counter styles */
.album-count-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(197, 155, 39, 0.9); /* Spiritual gold */
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Pagination styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    background-color: white;
    transition: var(--transition);
}

.pagination-link:hover, .pagination-link.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination-link.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Album Modal styles */
.album-modal.open {
    display: flex !important;
    opacity: 1 !important;
}

#albumModalClose:hover {
    color: var(--primary) !important;
    transform: scale(1.1);
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.album-grid-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--border);
    background-color: #f1f5f9;
    transition: var(--transition);
}

.album-grid-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.album-grid-item img, .album-grid-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-grid-item .play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}


