/* =============================================
   Niksar Turizm - Responsive Styles
   ============================================= */

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Large Devices (992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .service-card {
        height: auto;
        min-height: 350px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .service-content h4 {
        font-size: 1.3rem;
        font-weight: 600;
        color: #000000;
    }
    
    .service-duration {
        font-size: 0.85rem;
        font-weight: 500;
    }
    
    .service-content p {
        font-size: 0.9rem;
        font-weight: 400;
        color: #333333;
    }
    
    .service-features li {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
        font-weight: 400;
        color: #333333;
    }
    
    .footer {
        margin-top: 4rem;
    }
}

/* Medium Devices (768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .service-card {
        height: auto;
        min-height: 320px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .service-content h4 {
        font-size: 1.25rem;
        font-weight: 600;
        color: #000000;
    }
    
    .service-duration {
        font-size: 0.85rem;
        font-weight: 500;
    }
    
    .service-content p {
        font-size: 0.9rem;
        font-weight: 400;
        color: #333333;
    }
    
    .service-features li {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
        font-weight: 400;
        color: #333333;
    }
    
    .news-card {
        margin-bottom: 2rem;
    }
    
    .footer {
        margin-top: 3.5rem;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .footer-contact .contact-item {
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 1.2rem;
    }
    
    .footer-contact .contact-icon {
        width: 45px;
        height: 45px;
        margin-right: 1rem;
    }
    
    .footer-contact .contact-info {
        flex: 1;
        text-align: left;
        line-height: 1.6;
    }
}

/* Small Devices (576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .service-card {
        height: auto;
        min-height: 300px;
        margin-bottom: 1.5rem;
    }
    
    .service-content {
        padding: 1.25rem;
    }
    
    .service-content h4 {
        font-size: 1.2rem;
        font-weight: 600;
        color: #000000;
    }
    
    .service-duration {
        font-size: 0.8rem;
        font-weight: 500;
    }
    
    .service-content p {
        font-size: 0.85rem;
        font-weight: 400;
        color: #333333;
    }
    
    .service-features li {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
        font-weight: 400;
        color: #333333;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .news-card {
        margin-bottom: 2rem;
    }
    
    .accordion-button {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .footer {
        margin-top: 3rem;
    }
    
    .footer-content {
        text-align: left;
        padding: 3rem 0;
    }
    
    .footer-item {
        margin-bottom: 2rem;
        text-align: left;
    }
    
    .footer-contact .contact-item {
        justify-content: flex-start;
        align-items: center;
        flex-direction: row;
        text-align: left;
        margin-bottom: 1.5rem;
    }
    
    .contact-icon {
        margin-right: 1rem;
        margin-bottom: 0;
        width: 45px;
        height: 45px;
    }
    
    .footer-contact .contact-info {
        flex: 1;
        line-height: 1.6;
        font-size: 0.95rem;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem !important;
    }
    
    .dropdown-menu {
        text-align: center;
    }
}

/* Extra Small Devices (less than 576px) */
@media (max-width: 575px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }
    
    .service-card {
        height: auto;
        min-height: 280px;
        margin-bottom: 1rem;
    }
    
    .service-content {
        padding: 1rem;
    }
    
    .service-content h4 {
        font-size: 1.1rem;
        font-weight: 600;
        color: #000000;
    }
    
    .service-duration {
        font-size: 0.75rem;
        font-weight: 500;
    }
    
    .service-content p {
        font-size: 0.8rem;
        font-weight: 400;
        color: #333333;
    }
    
    .service-features li {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
        font-weight: 400;
        color: #333333;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .news-card {
        margin-bottom: 1.5rem;
    }
    
    .news-content {
        padding: 1rem;
    }
    
    .news-content h4 {
        font-size: 1.1rem;
    }
    
    .news-content p {
        font-size: 0.9rem;
    }
    
    .accordion-button {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .accordion-body {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .footer-content {
        text-align: center;
        padding: 2rem 0;
    }
    
    .footer-logo {
        height: 50px;
    }
    
    .footer-certificate {
        max-width: 150px;
    }
    
    .widget-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-menu li {
        margin-bottom: 0.5rem;
    }
    
    .footer-contact .contact-item {
        justify-content: flex-start;
        align-items: center;
        flex-direction: row;
        text-align: left;
        margin-bottom: 1.5rem;
        padding: 0.5rem 0;
    }
    
    .contact-icon {
        margin-right: 1rem;
        margin-bottom: 0;
        width: 42px;
        height: 42px;
        flex-shrink: 0;
    }
    
    .contact-icon i {
        font-size: 1rem;
    }
    
    .contact-info {
        font-size: 0.9rem;
        flex: 1;
        line-height: 1.5;
    }
    
    .footer {
        margin-top: 2.5rem;
    }
    
    .footer-item {
        margin-bottom: 2rem;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand .logo {
        height: 65px;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem !important;
        font-size: 0.95rem;
    }
    
    .dropdown-menu {
        text-align: center;
        font-size: 0.9rem;
    }
    
    .dropdown-item {
        padding: 0.5rem 1rem;
    }
    
    .top-bar-area {
        padding: 8px 0;
        font-size: 12px;
    }
    
    .top-bar-area .info ul {
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-start;
    }
    
    .top-bar-area .social ul {
        gap: 0.75rem;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .hero-dots {
        bottom: 1rem;
        gap: 0.75rem;
    }
    
    .hero-dots .dot {
        width: 10px;
        height: 10px;
    }
    
    .mission-vision-content {
        padding: 2rem 1rem !important;
    }
    
    .mission-vision-content h2 {
        font-size: 1.5rem;
    }
    
    .mission-vision-content h4 {
        font-size: 1rem;
    }
    
    .mission-vision-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .mission-vision-content .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .faq-info h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .faq-info h5 {
        font-size: 0.9rem;
    }
    
    .about-description {
        font-size: 1rem;
        line-height: 1.7;
    }
}

/* Landscape Orientation for Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-slider {
        height: 80vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .service-card {
        height: auto;
        min-height: 260px;
    }
    
    .service-content {
        padding: 0.75rem;
    }
    
    .service-content h4 {
        font-size: 1rem;
        font-weight: 600;
        color: #000000;
    }
    
    .service-duration {
        font-size: 0.7rem;
        font-weight: 500;
    }
    
    .service-content p {
        font-size: 0.75rem;
        font-weight: 400;
        color: #333333;
    }
    
    .service-features li {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
        font-weight: 400;
        color: #333333;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-nav,
    .hero-dots,
    .footer,
    .top-bar-area {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        page-break-inside: avoid;
    }
    
    .hero-slide {
        position: static;
        opacity: 1;
    }
    
    .hero-bg {
        display: none;
    }
    
    .hero-content {
        color: var(--text-dark);
    }
    
    .section-title,
    .section-subtitle {
        color: var(--text-dark);
    }
    
    .service-card,
    .news-card {
        box-shadow: none;
        border: 1px solid var(--border-color);
        page-break-inside: avoid;
    }
    
    .btn {
        border: 1px solid var(--border-color);
        background: none !important;
        color: var(--text-dark) !important;
    }
}

/* High DPI / Retina Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .navbar-brand .logo,
    .footer-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .service-image img,
    .news-image img,
    .hero-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-slide {
        transition: none;
    }
    
    .service-card:hover,
    .news-card:hover,
    .btn:hover {
        transform: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #e9ecef;
        --text-light: #adb5bd;
        --white-color: #212529;
        --light-color: #343a40;
        --border-color: #495057;
    }
    
    .navbar {
        background: var(--white-color) !important;
        border-bottom: 1px solid var(--border-color);
    }
    
    .service-card,
    .news-card,
    .accordion-item {
        background: var(--white-color);
        border: 1px solid var(--border-color);
    }
    
    .accordion-button {
        background: var(--white-color);
        color: var(--text-dark);
    }
    
    .accordion-body {
        background: var(--white-color);
        color: var(--text-light);
    }
}

/* Focus Styles for Accessibility */
@media (prefers-reduced-motion: no-preference) {
    .btn:focus,
    .nav-link:focus,
    .dropdown-item:focus,
    .accordion-button:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
    
    .hero-nav button:focus,
    .hero-dots .dot:focus {
        outline: 2px solid var(--white-color);
        outline-offset: 2px;
    }
}

/* Container Queries (Modern Browsers) */
@container (max-width: 300px) {
    .service-content h4 {
        font-size: 1.2rem;
    }
    
    .service-content a {
        font-size: 1.5rem;
    }
}

@container (min-width: 301px) and (max-width: 500px) {
    .service-content h4 {
        font-size: 1.3rem;
    }
    
    .service-content a {
        font-size: 1.7rem;
    }
}

@container (min-width: 501px) {
    .service-content h4 {
        font-size: 1.5rem;
    }
    
    .service-content a {
        font-size: 2rem;
    }
}

/* Footer Responsive Styles */
@media (max-width: 767px) {
    .footer-bottom .row {
        text-align: center;
    }
    
    .footer-bottom .col-md-4 {
        margin-bottom: 1rem;
    }
    
    .footer-bottom .col-md-4:last-child {
        margin-bottom: 0;
    }
    
    .footer-bottom-menu {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .footer-bottom-menu li {
        width: 100%;
        text-align: center;
    }
    
    .footer-millennium-logo {
        height: 25px;
        margin: 0.5rem 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .footer-bottom .row {
        text-align: center;
    }
    
    .footer-bottom .col-md-4 {
        margin-bottom: 1rem;
    }
    
    .footer-bottom .col-md-4:last-child {
        margin-bottom: 0;
    }
    
    .footer-bottom-menu {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-millennium-logo {
        height: 28px;
    }
}
