/* ============================================
   Tenis Antrenörleri Derneği - Ana Stil Dosyası
   Renk Paleti: Yeşil, Beyaz, Altın
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary-green: #1a6b3c;
    --primary-green-dark: #145530;
    --primary-green-light: #2e8b57;
    --accent-gold: #c8a951;
    --accent-gold-light: #e8d48b;
    --bg-light: #f8faf9;
    --bg-white: #ffffff;
    --text-dark: #1a1a2e;
    --text-gray: #555;
    --text-light: #888;
    --border-color: #e0e7e3;
    --shadow-sm: 0 2px 8px rgba(26, 107, 60, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 107, 60, 0.12);
    --shadow-lg: 0 8px 40px rgba(26, 107, 60, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 700;
    line-height: 1.3;
}

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

a:hover {
    color: var(--accent-gold);
}

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

/* --- Tennis Ball Loader --- */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.tennis-ball-loader {
    position: relative;
    width: 80px;
    height: 80px;
}

.tennis-ball {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #d4e542, #b8cc1e, #9ab015);
    position: relative;
    animation: bounce 0.6s ease-in-out infinite alternate, spin 2s linear infinite;
    box-shadow: 0 15px 30px rgba(154, 176, 21, 0.4), inset -4px -4px 8px rgba(0,0,0,0.1), inset 4px 4px 8px rgba(255,255,255,0.3);
}

.tennis-ball::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 64px;
    border: 3px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%);
}

.tennis-ball::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 64px;
    border: 3px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    clip-path: polygon(65% 0, 100% 0, 100% 100%, 65% 100%);
}

.loader-text {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-green);
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-25px); }
}

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

/* --- Navbar --- */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 12px 0;
    transition: var(--transition);
    border-bottom: 3px solid var(--primary-green);
}

.navbar-custom.scrolled {
    padding: 6px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-green) !important;
}

.brand-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo svg {
    width: 48px;
    height: 48px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-text .main-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-green);
}

.brand-text .sub-name {
    font-size: 0.7rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar-custom .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--primary-green) !important;
    background: rgba(26, 107, 60, 0.06);
}

.navbar-custom .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--primary-green);
    border-radius: 2px;
}

.btn-uyelik {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    color: #fff !important;
    font-weight: 600;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    border: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(26, 107, 60, 0.3);
}

.btn-uyelik:hover {
    background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 107, 60, 0.4);
    color: #fff !important;
}

/* --- Hero / Carousel --- */
.hero-carousel {
    position: relative;
    overflow: hidden;
}

.hero-carousel .carousel-item {
    min-height: 550px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 107, 60, 0.85) 0%, rgba(20, 85, 48, 0.7) 50%, rgba(0,0,0,0.3) 100%);
}

.carousel-caption-custom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    z-index: 2;
}

.carousel-caption-custom h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    max-width: 800px;
}

.carousel-caption-custom p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    opacity: 0.8;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: transparent;
    margin: 0 6px;
    transition: var(--transition);
}

.carousel-indicators .active {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: scale(1.2);
}

/* --- Section Styling --- */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--bg-white);
}

.section-gray {
    background: var(--bg-light);
}

.section-green {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-green .section-title h2 {
    color: #fff;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-title p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-green .section-title p {
    color: rgba(255,255,255,0.8);
}

/* --- About Section on Home --- */
.about-preview {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-preview-img {
    flex: 0 0 45%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-preview-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-preview-content {
    flex: 1;
}

.about-preview-content h3 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.about-preview-content p {
    color: var(--text-gray);
    font-size: 1.05rem;
    margin-bottom: 15px;
}

/* --- Stats Section --- */
.stats-section {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    color: #fff;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* --- News Cards --- */
.news-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.news-card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-green-light), var(--primary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-body {
    padding: 25px;
}

.news-card-date {
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.news-card-body h5 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.news-card-body p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Announcement Cards (Home) --- */
.duyuru-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-green);
    transition: var(--transition);
    margin-bottom: 20px;
}

.duyuru-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.duyuru-card h5 {
    color: var(--primary-green);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
}

.duyuru-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.duyuru-card .date {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* --- Forms --- */
.form-container {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 50px;
    border: 1px solid var(--border-color);
}

.form-group-custom {
    margin-bottom: 24px;
}

.form-group-custom label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: block;
}

.form-group-custom label .required {
    color: #dc3545;
    margin-left: 3px;
}

.form-control-custom {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
    width: 100%;
    background: var(--bg-white);
}

.form-control-custom:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 4px rgba(26, 107, 60, 0.1);
}

.form-control-custom.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback-custom {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.form-control-custom.is-invalid + .invalid-feedback-custom,
.form-control-custom.is-invalid ~ .invalid-feedback-custom {
    display: block;
}

.form-section-title {
    font-size: 1.1rem;
    color: var(--primary-green);
    font-weight: 700;
    padding-bottom: 10px;
    margin-bottom: 25px;
    margin-top: 15px;
    border-bottom: 2px solid var(--border-color);
    font-family: 'Inter', sans-serif;
}

/* --- Buttons --- */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(26, 107, 60, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green));
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(26, 107, 60, 0.4);
    color: #fff;
}

.btn-primary-custom:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 12px 36px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline-custom:hover {
    background: var(--primary-green);
    color: #fff;
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold), #d4b85c);
    color: var(--text-dark);
    border: none;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(200, 169, 81, 0.4);
}

/* --- Vizyon Misyon --- */
.vm-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
}

.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.vm-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(26, 107, 60, 0.1), rgba(46, 139, 87, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--primary-green);
}

.vm-card h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.vm-card p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
}

/* --- Tüzük Sayfası --- */
.tuzuk-content {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.tuzuk-content h3 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.tuzuk-content h3:first-child {
    margin-top: 0;
}

.tuzuk-content p {
    color: var(--text-gray);
    margin-bottom: 12px;
    text-align: justify;
}

.tuzuk-content ol, .tuzuk-content ul {
    color: var(--text-gray);
    padding-left: 20px;
    margin-bottom: 15px;
}

.tuzuk-content li {
    margin-bottom: 8px;
}

/* --- Page Header / Banner --- */
.page-banner {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.02);
}

.page-banner h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.page-banner p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.breadcrumb-custom {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.breadcrumb-custom a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.breadcrumb-custom a:hover {
    color: var(--accent-gold);
}

.breadcrumb-custom span {
    color: var(--accent-gold);
    font-size: 0.9rem;
}

/* --- Footer --- */
.footer {
    background: linear-gradient(180deg, #1a2332, #0f1520);
    color: #ccc;
    padding: 70px 0 0;
}

.footer h5 {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

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

.footer p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #aaa;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--accent-gold);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;
    font-size: 0.85rem;
    color: #777;
}

.footer-bottom a {
    color: var(--accent-gold);
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '🎾';
    position: absolute;
    font-size: 200px;
    opacity: 0.05;
    right: -30px;
    bottom: -30px;
}

.cta-section h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* --- Success Message --- */
.success-message {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 1px solid #28a745;
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    margin-top: 20px;
}

.success-message i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 15px;
}

.success-message h4 {
    color: #155724;
    margin-bottom: 10px;
}

.success-message p {
    color: #155724;
}

/* --- Admin Styles --- */
.admin-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
}

.admin-login-box {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 50px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.admin-login-box h2 {
    color: var(--primary-green);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.admin-sidebar {
    background: linear-gradient(180deg, var(--primary-green), var(--primary-green-dark));
    min-height: 100vh;
    padding: 30px 0;
    color: #fff;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.8) !important;
    padding: 12px 25px;
    font-size: 0.95rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
    border-left-color: var(--accent-gold);
}

.admin-content {
    padding: 30px;
}

.admin-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 25px;
}

.admin-stat-card {
    text-align: center;
    padding: 25px;
    border-radius: var(--radius-md);
    color: #fff;
}

/* --- Alert Styles --- */
.alert-custom {
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    font-size: 0.95rem;
    border: none;
}

/* --- Photo Upload --- */
.photo-upload-area {
    width: 150px;
    height: 180px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.photo-upload-area:hover {
    border-color: var(--primary-green);
    background: rgba(26, 107, 60, 0.03);
}

.photo-upload-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.photo-upload-area i {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.photo-upload-area span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* --- Scroll to Top --- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-green);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-green-dark);
    transform: translateY(-4px);
}

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

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

/* --- Responsive --- */
@media (max-width: 991px) {
    .hero-carousel .carousel-item {
        min-height: 400px;
    }

    .carousel-caption-custom h2 {
        font-size: 1.8rem;
    }

    .carousel-caption-custom p {
        font-size: 1rem;
    }

    .about-preview {
        flex-direction: column;
        gap: 30px;
    }

    .about-preview-img {
        flex: auto;
        width: 100%;
    }

    .section {
        padding: 60px 0;
    }

    .form-container {
        padding: 30px;
    }

    .page-banner h1 {
        font-size: 1.8rem;
    }

    .navbar-brand-custom {
        font-size: 1rem;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .brand-logo svg {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 767px) {
    .hero-carousel .carousel-item {
        min-height: 350px;
    }

    .carousel-caption-custom h2 {
        font-size: 1.4rem;
    }

    .carousel-caption-custom p {
        font-size: 0.9rem;
        display: none;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .form-container {
        padding: 20px;
    }

    .vm-card {
        padding: 30px 25px;
    }

    .tuzuk-content {
        padding: 25px;
    }

    .footer {
        padding: 50px 0 0;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }

    .brand-text .main-name {
        font-size: 0.95rem;
    }

    .brand-text .sub-name {
        font-size: 0.6rem;
    }

    .page-banner {
        padding: 60px 0 40px;
    }

    .page-banner h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 575px) {
    .photo-upload-area {
        width: 120px;
        height: 150px;
    }
}
