/**
 * ============================================
 * Çerkezköy Fotoğrafçısı - Responsive CSS
 * ============================================
 */

/* ========== TABLET (768px - 1024px) ========== */
@media screen and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .packages-grid,
    .packages-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== MOBILE (max-width: 768px) ========== */
@media screen and (max-width: 768px) {
    /* Header & Navigation */
    header .container {
        flex-wrap: wrap;
    }

    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow);
        transition: left 0.3s ease;
        padding: 20px 0;
        z-index: 999;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
    }

    nav ul li {
        border-bottom: 1px solid var(--border-color);
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        padding: 15px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .social-icons {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }

    /* Hero */
    .hero {
        min-height: 70vh;
        margin-top: 80px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    /* Sections */
    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    /* About */
    .about-text h3 {
        font-size: 1.6rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    /* Packages */
    .packages-grid,
    .packages-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .package-content h3 {
        font-size: 1.3rem;
    }

    .package-price {
        font-size: 1.5rem;
    }

    /* Gallery */
    .gallery-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-item {
        height: 250px;
    }

    /* Reviews */
    .reviews-grid,
    .reviews-container {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-detail {
        padding-top: 100px;
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 1.6rem;
    }

    .contact-item {
        gap: 15px;
    }

    .contact-item i {
        font-size: 20px;
    }

    .contact-form {
        padding: 25px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    footer {
        padding: 40px 0 20px;
    }
}

/* ========== SMALL MOBILE (max-width: 480px) ========== */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    /* Section Title */
    .section-title {
        font-size: 1.6rem;
    }

    /* Package Cards */
    .package-image {
        height: 200px;
    }

    .package-content {
        padding: 20px;
    }

    .package-content h3 {
        font-size: 1.2rem;
    }

    .package-price {
        font-size: 1.3rem;
    }

    /* Gallery */
    .gallery-item {
        height: 220px;
    }

    .gallery-overlay h3 {
        font-size: 1.1rem;
    }

    .gallery-overlay p {
        font-size: 0.85rem;
    }

    /* Review Cards */
    .review-card {
        padding: 20px;
    }

    .reviewer-avatar {
        width: 50px;
        height: 50px;
    }

    .review-stars {
        font-size: 1rem;
    }

    /* Contact */
    .contact-item h3 {
        font-size: 1.1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    /* WhatsApp Button */
    .whatsapp-btn {
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* ========== LANDSCAPE MOBILE ========== */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
}

/* ========== PRINT ========== */
@media print {
    header,
    footer,
    .mobile-menu-btn,
    .social-icons,
    .btn,
    .whatsapp-btn,
    .filter-btn {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .container {
        max-width: 100%;
    }

    section {
        page-break-inside: avoid;
        padding: 20px 0;
    }
}

/* ========== HIGH CONTRAST MODE ========== */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #b8860b;
        --text-color: #000;
        --border-color: #333;
    }

    .btn,
    .filter-btn,
    .whatsapp-btn {
        border: 2px solid var(--dark-color);
    }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ========== DARK MODE (Optional) ========== */
@media (prefers-color-scheme: dark) {
    :root {
        --dark-color: #f8f9fa;
        --light-color: #222;
        --white: #1a1a1a;
        --text-color: #ccc;
        --border-color: #444;
    }

    body {
        background: #1a1a1a;
        color: #ccc;
    }

    header {
        background: #222;
    }

    .package-card,
    .review-card,
    .contact-form {
        background: #222;
    }

    footer {
        background: #111;
    }
}