/*
Theme Name: Başkent Sportif Futbol Kulübü Teması
Theme URI: https://baskentsportif.com/
Author: Pelaxy Digital
Author URI: https://pelaxydigital.com/
Description: Başkent Sportif Futbol Kulübü için özel tasarlanmış modern, dinamik ve responsive WordPress teması.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: baskent-sportif
Tags: sports, football, dark, responsive, custom-menu, post-thumbnails
*/

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

/* --- CSS Variables (Logo Colors & System) --- */
:root {
    --color-bg-dark: #070B13;       /* Panther Deep Navy/Black */
    --color-bg-card: #0F1626;       /* Slightly lighter navy for cards */
    --color-primary: #004AAD;       /* Logo Royal Blue */
    --color-primary-hover: #00367E; /* Darker Royal Blue */
    --color-accent: #E63946;        /* Crimson Red from logo */
    --color-accent-hover: #BD2B36;  /* Darker Crimson Red */
    --color-text-light: #F4F6F9;    /* Metallic Light/White */
    --color-text-muted: #94A3B8;    /* Muted Slate Text */
    --color-white: #FFFFFF;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* --- Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg-dark);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 74, 173, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(230, 57, 70, 0.05) 0%, transparent 45%),
        linear-gradient(180deg, #070B13 0%, #0c1220 50%, #05080f 100%);
    background-attachment: fixed;
    color: var(--color-text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
}

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

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

/* --- Container & Grid Layouts --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Header & Navigation --- */
.site-header {
    background-color: transparent;
    position: relative;
    z-index: 1000;
    border-bottom: none;
    padding: 20px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.logo span {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--color-white) 30%, var(--color-text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-navigation a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border-radius: 6px;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 -2px 0 var(--color-primary);
}

.hero-banner {
    position: relative;
    margin-top: -90px;
    padding: 170px 0 130px;
    text-align: center;
    overflow: hidden;
    background-color: var(--color-bg-dark);
}

.hero-banner .container {
    position: relative;
    z-index: 10;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-slideshow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark gradient overlay without tactical lines */
    background: 
        radial-gradient(circle at center, rgba(0, 74, 173, 0.12) 0%, transparent 70%),
        linear-gradient(180deg, rgba(7, 11, 19, 0.75) 0%, rgba(7, 11, 19, 0.92) 100%);
    z-index: 2;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    filter: brightness(0.85) contrast(1.2) saturate(1.25);
    animation: heroSlideshowAnim 24s linear infinite;
}

.hero-slideshow .slide:nth-child(1) { animation-delay: 0s; }
.hero-slideshow .slide:nth-child(2) { animation-delay: 6s; }
.hero-slideshow .slide:nth-child(3) { animation-delay: 12s; }
.hero-slideshow .slide:nth-child(4) { animation-delay: 18s; }

@keyframes heroSlideshowAnim {
    0% {
        opacity: 0;
        transform: scale(1.02);
    }
    4% {
        opacity: 0.6; /* Increased visibility and clarity */
    }
    25% {
        opacity: 0.6;
    }
    29% {
        opacity: 0;
        transform: scale(1.08);
    }
    100% {
        opacity: 0;
    }
}

.hero-subtitle {
    color: var(--color-accent);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: inline-block;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: -1px;
    animation: fadeInUp 1s ease-out;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 35px;
    animation: fadeInUp 1.2s ease-out;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0, 74, 173, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 74, 173, 0.6);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.btn-accent:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.6);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* --- Info Sections --- */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

/* --- Cards Grid (Latest Match & Cards) --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 74, 173, 0.4);
    box-shadow: var(--shadow);
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.card-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* --- Match Dashboard --- */
.match-dashboard {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: var(--shadow);
}

.match-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 150px;
}

.match-team-logo {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.match-team-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
}

.match-score-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.match-score {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 5px;
    background: linear-gradient(135deg, var(--color-white), var(--color-text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.match-status {
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* --- About Us Page Specific --- */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--color-primary);
    padding: 10px 20px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
}

.about-content h3 {
    color: var(--color-primary);
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1.5px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--color-text-muted);
}

/* --- Gallery Styles --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 3/2;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(7, 11, 19, 0.9) 20%, rgba(7, 11, 19, 0.2));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-white);
}

.gallery-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Lightbox Mock */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(7, 11, 19, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.lightbox-content {
    max-width: 85%;
    max-height: 80%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2.5rem;
    color: var(--color-white);
    cursor: pointer;
    transition: var(--transition);
}

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

/* --- Contact Page Specific --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 74, 173, 0.1);
    border: 1px solid rgba(0, 74, 173, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

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

/* Contact Form */
.contact-form {
    background-color: var(--color-bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

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

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--color-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.2);
}

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

/* --- Footer --- */
.site-footer {
    background-color: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 15px;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-widget h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--color-accent);
}

.footer-widget ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-widget a {
    color: var(--color-text-muted);
}

.footer-widget a:hover {
    color: var(--color-white);
}

.instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--color-white) !important;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.25);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.instagram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.45);
    filter: brightness(1.1);
}

.instagram-btn svg {
    fill: currentColor;
    width: 18px;
    height: 18px;
}

.footer-contact-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 25px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-item span.icon {
    color: var(--color-accent);
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-bottom p {
    margin: 0;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Redesigned Quick Navigation Section --- */
.quick-nav-section {
    position: relative;
    background-color: #080d1a;
    background-image: 
        radial-gradient(circle at center, rgba(0, 74, 173, 0.12) 0%, transparent 60%);
    overflow: hidden;
}

.card-quick {
    background: linear-gradient(135deg, #0d1424 0%, #080d19 100%);
    border: 1px solid rgba(0, 74, 173, 0.25);
    position: relative;
    overflow: hidden;
    padding: 35px 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.card-quick::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.card-quick:hover::before {
    background-color: var(--color-accent);
    width: 8px;
}

.card-quick:hover {
    transform: translateY(-5px);
    border-color: rgba(230, 57, 70, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.card-quick-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
    display: block;
}

/* Homepage Transparent Overlay Footer */
.home .site-footer {
    margin-top: -380px;
    position: relative;
    z-index: 10;
    border-top: none;
}

/* --- Responsive Design (Mobile & Tablet) --- */
@media (max-width: 768px) {
    .site-header {
        position: relative;
        background-color: transparent;
        padding: 15px 0;
    }

    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .logo, .logo-link {
        justify-content: center;
        max-width: 100%;
    }

    .logo span {
        font-size: 1.05rem !important;
        letter-spacing: 0.5px;
        line-height: 1.3;
    }

    .main-navigation ul {
        gap: 10px 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-navigation a {
        font-size: 0.85rem;
        padding: 6px 10px;
    }

    .hero-banner {
        margin-top: 0 !important;
        padding: 40px 0 !important;
    }

    .home .hero-banner {
        margin-top: 0 !important;
        padding: 40px 0 60px !important;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

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

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

    .section-title {
        margin-bottom: 30px;
        font-size: 1.8rem;
    }

    .home .site-footer {
        margin-top: 0 !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-widget {
        align-items: center;
    }

    .footer-widget ul {
        flex-direction: column;
        gap: 10px;
    }

    .footer-contact-row {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

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

    .home .hero-banner {
        padding-bottom: 40px !important;
    }

    .home .site-footer {
        margin-top: 0 !important;
    }
}

