/* Ad Slider Styles */
.ad-slider-container {
    position: relative;
    max-width: 1400px;
    max-height: 400px;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.ad-slider {
    display: flex;
    width: 100%;
    height: auto;
    position: relative;
    max-height: 500px;
}

.ad-slide {
    width: 100%;
    flex-shrink: 0;
    display: none;
    transition: opacity 0.5s ease;
}

.ad-slide.active {
    display: block;
}

.ad-slide a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.ad-slide img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: all 0.3s ease;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.slider-prev:hover, .slider-next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.slider-prev {
    left: 15px;
}

.slider-next {
    right: 15px;
}

/* Responsive Slider */
@media (max-width: 768px) {
    .ad-slider-container {
        max-height: 250px;
        margin: 1.5rem auto;
        border-radius: 10px;
    }
    
    .ad-slider, .ad-slide img {
        max-height: 180px;
    }
    
    .ad-slide img {
        object-fit: cover;
        object-position: center;
    }
    
    .slider-prev, .slider-next {
        padding: 10px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-dots {
        bottom: 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .ad-slider-container {
        max-height: 200px;
        margin: 1rem auto;
        border-radius: 8px;
        width: 100%;
    }
    
    .ad-slider, .ad-slide img {
        max-height: 150px;
        object-fit: cover;
    }
    
    .ad-slide img {
        object-position: center;
    }
    
    .slider-prev, .slider-next {
        padding: 8px;
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .slider-dots {
        bottom: 5px;
        gap: 5px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
}

/* Countdown Section Styles */
.countdown-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f5f7fa, #e4e8f0);
    border-radius: 20px;
    max-width: 1200px;
    margin: 2rem auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.countdown-section h5 {
    font-size: 1.8rem;
    color: #121b7e; /* primary-color */
    margin-bottom: 2rem;
    font-weight: 700;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.countdown-item {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Dış çember - koyu gri arka plan */
.countdown-item::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #333333;
    z-index: 0;
}

/* Renkli progress çemberi */
.countdown-item::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        var(--color) 0deg,
        var(--color) var(--progress, 0deg),
        transparent var(--progress, 0deg),
        transparent 360deg
    );
    z-index: 1;
}

/* Her sayaç için farklı renkler */
.countdown-item:nth-child(1) {
    --color: #e9c46a; /* Gün için sarı */
}

.countdown-item:nth-child(2) {
    --color: #64b5f6; /* Saat için mavi */
}

.countdown-item:nth-child(3) {
    --color: #81c784; /* Dakika için yeşil */
}

.countdown-item:nth-child(4) {
    --color: #4db6ac; /* Saniye için turkuaz */
}

.countdown-circle {
    position: relative;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.countdown-circle span:first-child {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.countdown-label {
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
}

/* Countdown Tips Section */
.countdown-tips {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.countdown-tips h2 {
    text-align: center;
    color: #121b7e; /* primary-color */
    font-size: 2rem;
    margin-bottom: 3rem;
}

.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.tip-card h3 {
    color: #121b7e; /* primary-color */
    font-size: 1.3rem;
    margin-bottom: 1rem;
    position: relative;
}

.tip-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #121b7e; /* primary-color */
    border-radius: 2px;
}

.tip-card p {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design for Countdown */
@media (max-width: 768px) {
    .countdown-section {
        padding: 2rem 1.5rem;
        border-radius: 15px;
        margin: 1.5rem auto;
    }
    
    .countdown-container {
        gap: 1.5rem;
    }
    
    .countdown-item {
        width: 120px;
        height: 120px;
    }
    
    .countdown-circle span:first-child {
        font-size: 2.5rem;
    }
    
    .countdown-section h5 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .countdown-section {
        padding: 1.5rem 1rem;
        border-radius: 12px;
        margin: 1rem auto;
    }
    
    .countdown-container {
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .countdown-item {
        width: 80px;
        height: 80px;
    }
    
    .countdown-circle {
        width: 85%;
        height: 85%;
    }
    
    .countdown-circle span:first-child {
        font-size: 1.8rem;
        margin-bottom: 0.1rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .countdown-section h5 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 360px) {
    .countdown-container {
        gap: 0.6rem;
    }
    
    .countdown-item {
        width: 70px;
        height: 70px;
    }
    
    .countdown-circle span:first-child {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.6rem;
    }
}

/* YKS Information Sections */
.yks-info-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.yks-info-section {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eaeaea;
}

.yks-info-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.yks-info-section h1 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.yks-info-section h2 {
    font-size: 1.8rem;
    color: #121b7e;
    margin-bottom: 1.2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.yks-info-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #121b7e;
    border-radius: 2px;
}

.yks-info-section p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.yks-info-section p:last-child {
    margin-bottom: 0;
}

/* Exam Dates Cards */
.yks-exam-dates {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.exam-date-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 1.8rem;
    flex: 1;
    min-width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eaeaea;
}

.exam-date-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.exam-date-card h3 {
    font-size: 1.6rem;
    color: #121b7e;
    margin-bottom: 1.8rem;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.exam-date-card h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #121b7e;
    border-radius: 2px;
}

.exam-date-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.date-info, .time-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.date-info:hover, .time-info:hover {
    background-color: #e9ecef;
}

.date-icon, .time-icon {
    font-size: 1.4rem;
}

.date-info span:last-child, .time-info span:last-child {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .yks-exam-dates {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .exam-date-card {
        width: 100%;
        padding: 1.5rem;
    }
    
    .exam-date-card h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .yks-info-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .yks-info-section h1 {
        font-size: 1.6rem;
    }
    
    .yks-info-section h2 {
        font-size: 1.6rem;
    }
    
    .yks-info-section p {
        font-size: 1rem;
    }
    
    .countdown-tips h2 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
    
    .countdown-tips {
        padding: 3rem 1.5rem;
    }
    
    .tip-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .yks-info-section {
        padding: 1.2rem;
        margin-bottom: 1.2rem;
        border-radius: 8px;
    }
    
    .yks-info-section h1 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .yks-info-section h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .yks-info-section h2::after {
        width: 60px;
        bottom: -6px;
    }
    
    .yks-info-section p {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }
    
    .exam-date-card {
        padding: 1.2rem;
        border-radius: 8px;
    }
    
    .exam-date-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
    
    .exam-date-card h3::after {
        width: 50px;
        bottom: -8px;
    }
    
    .date-info, .time-info {
        padding: 0.6rem;
        gap: 0.6rem;
    }
    
    .date-icon, .time-icon {
        font-size: 1.2rem;
    }
    
    .date-info span:last-child, .time-info span:last-child {
        font-size: 1rem;
    }
    
    .countdown-tips {
        padding: 2rem 1rem;
    }
    
    .countdown-tips h2 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .tips-container {
        gap: 1.5rem;
    }
    
    .tip-card {
        padding: 1.2rem;
    }
    
    .tip-card h3 {
        font-size: 1.2rem;
    }
    
    .tip-card p {
        font-size: 0.95rem;
    }
}

/* Landscape orientation for mobile devices */
@media (max-width: 768px) and (orientation: landscape) {
    .countdown-container {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .countdown-item {
        width: 90px;
        height: 90px;
    }
    
    .countdown-section {
        padding: 1.5rem;
    }
    
    .countdown-section h5 {
        margin-bottom: 1rem;
    }
    
    .countdown-circle span:first-child {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
} 