/**
 * Festwin Turnuva Projesi
 * Anasayfa Ã¶zel stilleri - TÃ¼m stillerden Ã¼stte olmasÄ± iÃ§in !important eklenmiÅŸtir
 */

/* -------------------- */
/* --- Anasayfa Stilleri --- */
/* -------------------- */
/* responsive.css */

/* Mobil menÃ¼ butonu - varsayÄ±lan olarak gizli */
body .main-content {
    width: 100% !important;
    max-width: var(--main-content-max-width) !important;
    margin: 0 auto !important;
}

body .mobile-menu-toggle {
    display: none !important;
    position: absolute;
    font-size: 24px !important;
    cursor: pointer !important;
    margin-left: auto !important;
    margin-right: 15px !important;
    color: #ffffff !important;
}

/* Responsive tasarÄ±m iÃ§in media query */
@media screen and (max-width: 768px) {
    body .header-container {
        position: relative !important;
        flex-wrap: wrap !important;
    }
    
    /* Logo ve mobil menÃ¼ butonu aynÄ± satÄ±rda */
    body .logo {
        margin-right: auto !important;
        /* margin-left: 36%; */
    }
    
    /* Mobil menÃ¼ butonunu gÃ¶ster */
    body .mobile-menu-toggle {
        display: block !important;
    }
    
    /* Ana navigasyonu gizle (aÃ§Ä±lÄ±p kapanabilir) */
    body .main-nav {
        display: none !important;
        width: 100% !important;
        order: 3 !important;
        margin-top: 10px !important;
    }
    
    /* AÃ§Ä±ldÄ±ÄŸÄ±nda gÃ¶rÃ¼necek */
    body .main-nav.active {
        display: block !important;
    }
    
    /* Dikey menÃ¼ iÃ§in */
    body .main-nav ul {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    body .main-nav ul li {
        width: 100% !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    body .main-nav ul li a {
        padding: 12px 15px !important;
        display: block !important;
        width: 100% !important;
    }
    
    /* Login butonu veya user menÃ¼ mobil gÃ¶rÃ¼nÃ¼m */
    body .login-btn {
        order: 2 !important;
        margin-right: 15% !important;
    }
    
    /* User menÃ¼ mobil gÃ¶rÃ¼nÃ¼mÃ¼ */
    body .user-menu {
        order: 2 !important;
		margin-right: 45px;
        margin-top: 5px;
    }
    
    /* User dropdown menÃ¼sÃ¼ mobil gÃ¶rÃ¼nÃ¼mÃ¼ */
    body .user-dropdown {
        right: 0 !important;
        width: 100% !important;
        position: absolute !important;
        top: 100% !important;
        z-index: 1000 !important;
    }
}

/* Ekstra kÃ¼Ã§Ã¼k ekranlar iÃ§in */
@media screen and (max-width: 480px) {
    body .header-container {
        padding: 10px !important;
    }
    
    body .logo a {
        font-size: 18px !important;
    }
    
    body .username-display {
        max-width: 100px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
}
body .home-content-wrapper {
    width: 100% !important;
    max-width: var(--main-content-max-width) !important;
    margin: 0 auto !important;
    padding: 0 var(--edge-spacing) !important;
}

body .home-content {
    width: 100% !important;
}

body .home-sidebar {
    margin-top: 20px !important;
}

/* Hero Banner Stilleri */
body .home-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/assets/img/turnuva/anaban.png') !important;
    background-size: cover !important;
    background-position: center !important;
    color: white !important;
    padding: 40px !important;
    border-radius: var(--border-radius-large) !important;
    margin-bottom: 30px !important;
    text-align: center !important;
    height: auto !important;
    min-height: 200px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

body .hero-banner-content {
    width: 100% !important;
    max-width: 700px !important;
}

body .hero-banner p {
    margin-bottom: 10px !important;
    font-size: 18px !important;
    color: var(--primary-yellow) !important;
}

body .hero-banner h1 {
    font-size: 32px !important;
    margin-bottom: 25px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

/* BÃ¶lÃ¼m BaÅŸlÄ±klarÄ± */
body .section-header.with-link {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 15px !important;
}

body .section-header h2,
body .section-header h3 {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
}

body .section-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    background-color: var(--primary-yellow) !important;
    color: var(--text-dark-on-yellow) !important;
    border-radius: 50% !important;
    transition: background-color 0.3s !important;
    flex-shrink: 0 !important;
}

body .section-link:hover {
    background-color: var(--primary-yellow-hover) !important;
    color: var(--text-dark-on-yellow) !important;
}

/* Turnuva KartlarÄ± */
body .home-section {
    position: relative !important;
    margin-bottom: 30px !important;
}

body .tournament-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: var(--gap-spacing) !important;
}

body .tournament-card {
    border-radius: var(--border-radius-large) !important;
    overflow: hidden !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    position: relative !important;
    background-color: var(--card-bg) !important;
    color: var(--text-light) !important;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out !important;
}

body .tournament-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15) !important;
}

body .tournament-card-img-container {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0 !important;
}

body .tournament-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

@media (min-width: 768px) {

.tournament-card {
  transform:
    rotate3d(.5,-.866,0,15deg)
    rotate(1deg);
  box-shadow:
    2em 4em 6em -2em rgba(0,0,0,.5),
    1em 2em 3.5em -2.5em rgba(0,0,0,.5);
  transition:
    transform .4s ease,
    box-shadow .4s ease;
  border-radius: .5em;

  &:hover {
    transform:
      rotate3d(0,0,0,0deg)
      rotate(0deg);
  }
}

 }

body .tournament-card:hover .tournament-card-img {
   transform: scale(1.0) !important; 
}



/* Example: If cards have content below the image */
body .tournament-card-content {
    padding: 15px !important;
}
body .tournament-card-content h4 {
    margin: 0 0 10px 0 !important;
    font-size: 1.1em !important;
}
body .tournament-card-content p {
    font-size: 0.9em !important;
    color: var(--text-muted) !important;
    margin-bottom: 15px !important;
}
body .tournament-card-content .btn {
    width: 100% !important;
}


body .daily-tournament {
    border: 2px solid #f9bd02 !important;
}

body .weekly-tournament {
    border: 2px solid #38ff01 !important;
}

body .monthly-tournament {
    border: 2px solid #00ebf8 !important;
}

/* Promo KartlarÄ± - Anasayfa Ã¶zel */
body .home-promos .promo-item {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out !important;
}

body .home-promos .promo-item:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 12px rgba(0,0,0,0.08) !important;
}

/* Responsive */

/* Medium devices (tablets, landscape phones, 992px and down) */
@media (max-width: 992px) {
    body .home-banner {
        padding: 30px 20px !important;
        min-height: 180px !important;
    }

    body .hero-banner h1 {
        font-size: 28px !important;
        margin-bottom: 20px !important;
    }
    
    body .hero-banner p {
        font-size: 17px !important;
    }
}

/* Small devices (portrait tablets and large phones, 768px and down) */
@media (max-width: 768px) {
    body .home-banner {
        padding: 25px 15px !important;
        min-height: 160px !important;
        margin-bottom: 25px !important;
    }
    
    body .hero-banner h1 {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }

    body .hero-banner p {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }

    body .section-header h2,
    body .section-header h3 {
        font-size: 18px !important;
    }
    
    body .section-link {
        width: 28px !important;
        height: 28px !important;
    }
    
    body .section-link i {
        font-size: 0.9em !important;
    }

    body .tournament-grid {
        gap: calc(var(--gap-spacing) - 5px) !important;
    }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
    body .home-banner {
        padding: 20px 10px !important;
        min-height: 150px !important;
        margin-bottom: 20px !important;
        border-radius: var(--border-radius) !important;
        width: 88%;
    }

    body .hero-banner h1 {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }
    
    body .hero-banner p {
        font-size: 14px !important;
    }

    body .hero-banner .hero-cta-btn {
        padding: 8px 16px !important;
        font-size: 14px !important;
        width: 100% !important;
        max-width: 250px !important;
    }

    body .section-header h2,
    body .section-header h3 {
        font-size: 16px !important;
    }
    
    body .section-header.with-link {
        margin-bottom: 10px !important;
        justify-content: right;
    }

    body .tournament-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    body .tournament-card {
        border-radius: var(--border-radius) !important;
        width: 90%;
        left: 15px;
    }
    
    body .tournament-card-img-container {
        border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
    }
    
}
.trophy-image {
    height: 60px;
}