﻿/* ===================================
   ELEGANCE HAIR SALON - Responsive Styles
   =================================== */

/* ===== Large Devices (Desktops) ===== */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .team-img {
        width: 220px;
        height: 220px;
    }
}

/* ===== Medium Devices (Tablets) ===== */
@media (max-width: 992px) {
    .btn-book-now {
        margin: 15px 0 0 0;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }

    .team-img {
        width: 200px;
        height: 200px;
    }

    .navbar-nav {
        padding: 20px 0;
    }

    .nav-link {
        margin: 5px 0;
        display: inline-block;
    }

    .nav-link::after {
        display: none;
    }
}

/* ===== Small Devices (Landscape Phones) ===== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .navbar-brand .logo-img {
        height: 40px;
    }

    section {
        padding: 50px 0;
    }

    .top-bar {
        display: none;
    }

    .btn-secondary-custom {
        margin: 15px 0 0 0;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 12px 35px;
        font-size: 1rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-content h3 {
        font-size: 1.6rem;
    }

    .gallery-item img {
        height: 250px;
    }

    .team-img {
        width: 180px;
        height: 180px;
    }

    .team-member h4 {
        font-size: 1.3rem;
    }

    .contact-info {
        margin-bottom: 20px;
    }

    .contact-form {
        padding: 25px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer h4 {
        font-size: 1.2rem;
    }

    /* Modal Responsive */
    .appointment-modal .modal-body {
        padding: 20px;
    }

    .appointment-modal .modal-header {
        padding: 20px;
    }

    .appointment-modal .modal-title {
        font-size: 1.4rem;
    }

    .floating-book-btn {
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .step-indicator .step {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin: 0 5px;
    }

    .step-indicator .step::after {
        width: 10px;
        right: -13px;
    }

    .appointment-modal .service-option {
        flex-wrap: wrap;
    }

    .appointment-modal .service-option .service-price {
        width: 100%;
        margin-left: 60px;
        margin-top: 5px;
    }

    .appointment-modal .time-slot {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .step-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-step {
        width: 100%;
        text-align: center;
    }

    .btn-step-prev {
        order: 2;
    }

    .btn-step-next {
        order: 1;
    }
}

/* ===== Extra Small Devices (Portrait Phones) ===== */
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        padding: 0 15px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    .navbar-brand .logo-img {
        height: 35px;
    }

    section {
        padding: 40px 0;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 10px 30px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }

    .service-card {
        padding: 20px;
    }

    .service-card .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .service-card h4 {
        font-size: 1.2rem;
    }

    .service-card .service-price {
        font-size: 1.3rem;
    }

    .gallery-item img {
        height: 200px;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .pricing-card h3 {
        font-size: 1.5rem;
    }

    .pricing-card .price {
        font-size: 2.5rem;
    }

    .team-img {
        width: 150px;
        height: 150px;
    }

    .team-member h4 {
        font-size: 1.2rem;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-author img {
        width: 50px;
        height: 50px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-item i {
        margin: 0 auto 15px;
    }

    .contact-form {
        padding: 20px;
    }

    .opening-hours li {
        font-size: 0.9rem;
    }

    /* Modal Responsive */
    .appointment-modal .modal-body {
        padding: 15px;
    }

    .appointment-modal .modal-title {
        font-size: 1.2rem;
    }

    .appointment-modal .modal-subtitle {
        font-size: 0.85rem;
    }

    .step-indicator {
        margin-bottom: 20px;
    }

    .step-indicator .step {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .appointment-modal .service-option .service-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .appointment-modal .service-option .service-info h6 {
        font-size: 0.95rem;
    }

    .appointment-modal .service-option .service-info span {
        font-size: 0.8rem;
    }

    .appointment-modal .service-option .service-price {
        margin-left: 55px;
    }

    .appointment-summary {
        padding: 15px;
    }

    .appointment-summary h5 {
        font-size: 1rem;
    }

    .success-animation .checkmark {
        width: 80px;
        height: 80px;
    }

    .success-animation .checkmark i {
        font-size: 40px;
    }

    .success-animation h3 {
        font-size: 1.3rem;
    }
}

/* ===== Very Small Devices ===== */
@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 1.7rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .section-title h2::after {
        width: 60px;
    }

    .pricing-card .price {
        font-size: 2rem;
    }

    .team-img {
        width: 130px;
        height: 130px;
        border-width: 3px;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 0.9rem;
    }
}

/* ===== Landscape Mode on Small Devices ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
}

/* ===== Print Styles ===== */
@media print {
    .navbar,
    .top-bar,
    .floating-book-btn,
    .scroll-top,
    .appointment-modal {
        display: none !important;
    }

    .hero-section {
        height: auto;
        padding: 50px 0;
        background: #f5f5f5;
    }

    section {
        page-break-inside: avoid;
    }

    .footer {
        background: #333;
        color: #fff;
    }
}

/* ========================================
   SLIDER RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .offers-swiper {
        height: 400px;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content {
        padding: 30px 40px;
    }
}

@media (max-width: 768px) {
    .offers-swiper {
        height: 350px;
    }

    .slide-content h2 {
        font-size: 1.7rem;
    }

    .slide-content p {
        font-size: 0.95rem;
    }

    .slide-content {
        padding: 25px 30px;
    }

    .slide-price {
        font-size: 1.5rem;
    }

    .offers-slider-section .swiper-button-next,
    .offers-slider-section .swiper-button-prev {
        display: none;
    }
}

@media (max-width: 576px) {
    .offers-swiper {
        height: 320px;
    }

    .slide-content h2 {
        font-size: 1.4rem;
    }

    .slide-content {
        padding: 20px 25px;
        max-width: 100%;
    }

    .slide-buttons a {
        display: block;
        width: 100%;
        text-align: center;
        margin: 5px 0 !important;
    }

    .btn-slide-outline {
        margin-left: 0 !important;
    }
}

/* ========================================
   GALLERY RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-card img {
        height: 280px;
    }
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .instagram-item img {
        height: 150px;
    }
    .filter-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

/* ========================================
   WELCOME BANNER RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .welcome-banner {
        padding: 70px 0;
    }

    .welcome-banner-content h2 {
        font-size: 2.2rem;
    }

    .welcome-stats-grid {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .welcome-banner {
        padding: 60px 0;
        background-attachment: scroll;
    }

    .welcome-banner-content h2 {
        font-size: 1.8rem;
    }

    .welcome-banner-content > p {
        font-size: 1rem;
    }

    .welcome-stats-grid {
        gap: 15px;
        margin-top: 30px;
    }

    .welcome-stat-card {
        padding: 25px 15px;
    }

    .welcome-stat-number {
        font-size: 2rem;
    }

    .welcome-feature-item {
        padding: 12px 15px;
    }

    .welcome-feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-right: 15px;
    }

    .welcome-buttons {
        flex-direction: column;
    }

    .welcome-buttons .btn-primary-custom,
    .welcome-buttons .btn-welcome-outline {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .welcome-banner {
        padding: 50px 0;
    }

    .welcome-banner-content h2 {
        font-size: 1.5rem;
    }

    .welcome-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .welcome-stat-card {
        padding: 20px 10px;
    }

    .welcome-stat-number {
        font-size: 1.8rem;
    }

    .welcome-stat-label {
        font-size: 0.8rem;
    }

    .welcome-stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .welcome-badge {
        font-size: 0.75rem;
        padding: 6px 18px;
    }
}

/* ========================================
   ABOUT PAGE RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .about-intro-section { padding: 70px 0; }
    .about-intro-content { padding-left: 0; margin-top: 60px; }
    .about-intro-content h2 { font-size: 2rem; }
    .about-img-secondary { width: 180px; height: 180px; }
    .about-intro-images { padding-right: 30px; }
    
    .timeline::before { left: 30px; }
    .timeline-item { width: 100%; padding-left: 70px !important; padding-right: 0 !important; text-align: left !important; margin-left: 0 !important; }
    .timeline-dot { left: 21px !important; right: auto !important; }
}

@media (max-width: 768px) {
    .about-intro-section { padding: 50px 0; }
    .about-intro-content h2 { font-size: 1.7rem; }
    .about-img-main img { height: 350px; }
    .about-img-secondary { width: 150px; height: 150px; bottom: -25px; }
    .about-experience-badge { padding: 15px 18px; }
    .experience-number { font-size: 2rem; }
    .mission-card { padding: 25px; }
    .mission-card h3 { font-size: 1.5rem; }
    .why-card-img { height: 180px; }
    .timeline-card img { height: 150px; }
}

@media (max-width: 576px) {
    .about-intro-content h2 { font-size: 1.5rem; }
    .about-img-main img { height: 280px; }
    .about-img-secondary { width: 120px; height: 120px; }
    .about-intro-images { padding-right: 0; }
    .about-experience-badge { top: 15px; right: 15px; }
    .timeline-item { padding-left: 50px !important; }
    .timeline::before { left: 20px; }
    .timeline-dot { left: 11px !important; }
}


/* ========================================
   SERVICES PAGE RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .services-intro-section { padding: 70px 0; }
    .services-intro-content h2 { font-size: 2rem; }
    .services-intro-img img { height: 380px; }
    .service-detail-content { padding: 30px 0 0; }
    .service-detail-img img { height: 380px; }
    .service-detail-content h3 { font-size: 1.7rem; }
}

@media (max-width: 768px) {
    .services-intro-section { padding: 50px 0; }
    .services-intro-content h2 { font-size: 1.7rem; }
    .services-intro-img img { height: 300px; }
    .services-highlights { grid-template-columns: 1fr; }
    .service-detail-section { padding: 50px 0; }
    .service-detail-img img { height: 300px; }
    .service-detail-content h3 { font-size: 1.5rem; }
    .service-detail-icon { width: 55px; height: 55px; font-size: 1.4rem; }
}

@media (max-width: 576px) {
    .services-intro-content h2 { font-size: 1.4rem; }
    .services-intro-img img { height: 250px; }
    .service-detail-img img { height: 250px; }
    .service-detail-content h3 { font-size: 1.3rem; }
    .service-price-list li { font-size: 0.85rem; }
    .service-price-amount { font-size: 1rem; }
    .process-card { padding: 30px 20px; }
}
/* ========================================
   LOGO RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .brand-logo {
        height: 45px;
    }

    .navbar.scrolled .brand-logo {
        height: 38px;
    }
}

@media (max-width: 768px) {
    .brand-logo {
        height: 40px;
    }

    .navbar.scrolled .brand-logo {
        height: 35px;
    }

    .footer-logo-img {
        height: 50px;
    }

    .loading-logo {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .brand-logo {
        height: 35px;
    }

    .navbar.scrolled .brand-logo {
        height: 30px;
    }

    /* Hide text on very small screens, show only logo */
    .navbar-brand .brand-nu,
    .navbar-brand .brand-you {
        display: none;
    }

    .footer-logo-img {
        height: 40px;
    }

    .loading-logo {
        height: 50px;
    }
}