/* ===================================
   Sixtus Group - Responsive Stylesheet
   Mobile-First Responsive Design
   =================================== */

/* ===== TABLET STYLES (768px and up) ===== */
@media (max-width: 768px) {
    /* Typography Adjustments */
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    /* Container Adjustments */
    .container {
        padding: 0 15px;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        gap: 3rem;
    }
    
    .nav-link {
        font-size: 1.2rem;
        color: #000000;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    /* Portfolio Grid */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    /* Sections Padding */
    .about, .services, .portfolio, .contact {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
}

/* ===== MOBILE STYLES (480px and down) ===== */
@media (max-width: 480px) {
    /* Typography */
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    /* Container */
    .container {
        padding: 0 10px;
    }
    
    /* Hero */
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    /* Navigation */
    .navbar {
        padding: 8px 0;
    }
    
    .nav-brand .logo img {
        max-width: 120px;
    }
    
    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .nav-list {
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    /* Portfolio */
    .portfolio-overlay {
        padding: 1rem;
    }
    
    .portfolio-title {
        font-size: 1.2rem;
    }
    
    /* Contact Form */
    .form input,
    .form textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Social Links */
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0;
    }
    
    .footer-brand img {
        max-width: 120px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .footer-links a {
        font-size: 0.8rem;
    }
    
    /* Sections */
    .about, .services, .portfolio, .contact {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .contact-content {
        gap: 2rem;
    }
}

/* ===== SMALL MOBILE (360px and down) ===== */
@media (max-width: 360px) {
    /* Typography */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    /* Container */
    .container {
        padding: 0 8px;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    
    /* Services */
    .service-card {
        padding: 1rem 0.8rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .service-title {
        font-size: 1rem;
    }
    
    .service-description {
        font-size: 0.9rem;
    }
    
    /* Portfolio */
    .portfolio-overlay {
        padding: 0.8rem;
    }
    
    .portfolio-title {
        font-size: 1rem;
    }
    
    .portfolio-category {
        font-size: 0.8rem;
    }
    
    /* Navigation */
    .nav-brand .logo img {
        max-width: 100px;
    }
    
    /* Footer */
    .footer-brand img {
        max-width: 100px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ===== LARGE SCREENS (1200px and up) ===== */
@media (min-width: 1200px) {
    .container {
        max-width: 1240px;
    }
    
    .hero-title {
        font-size: 6rem;
    }
    
    .hero-subtitle {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== EXTRA LARGE SCREENS (1400px and up) ===== */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* ===== LANDSCAPE MOBILE ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .navbar {
        padding: 5px 0;
    }
    
    .nav-menu {
        top: 50px;
        height: calc(100vh - 50px);
    }
}

/* ===== ACCESSIBILITY & FOCUS STATES ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus states for better accessibility */
@media (min-width: 769px) {
    .nav-link:focus,
    .btn:focus,
    .social-link:focus,
    .footer-links a:focus {
        outline: 2px solid #ff0015;
        outline-offset: 2px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card,
    .portfolio-overlay {
        border: 2px solid #ffffff;
    }
    
    .btn-primary {
        border: 2px solid #ffffff;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    * {
        background: white !important;
        color: black !important;
    }
    
    .header,
    .nav-toggle,
    .hero-bg,
    .btn,
    .social-links,
    .contact-form {
        display: none !important;
    }
    
    .hero::before {
        display: none;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .section-title,
    .hero-title,
    h1, h2, h3, h4, h5, h6 {
        color: black !important;
    }
    
    .hero-content {
        padding-top: 2rem;
    }
}

/* ===== CONTACT PAGE RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .contact-hero-section {
        padding: 6rem 0 4rem;
    }
    
    .contact-hero-content h1 {
        font-size: 48px;
    }
    
    .contact-hero-content p {
        font-size: 20px;
    }
    
    .contact-hero-description p {
        font-size: 16px;
    }
    
    .contact-info-section {
        padding: 4rem 0;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form-section {
        padding: 4rem 0;
    }
    
    .contact-form-header h2 {
        font-size: 36px;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-faq-section {
        padding: 4rem 0;
    }
    
    .faq-header h2 {
        font-size: 36px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .map-header {
        padding: 3rem 0;
    }
    
    .map-header h2 {
        font-size: 36px;
    }
    
    .map-wrapper iframe {
        height: 400px;
    }
    
    .map-info-section {
        padding: 3rem 0;
    }
    
    .map-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .map-info-card {
        padding: 1.5rem;
    }
    
    .contact-form-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-text {
        padding-right: 0;
        text-align: center;
    }
    
    .contact-form-text h2 {
        font-size: 36px;
    }
    
    .contact-form-text p {
        font-size: 18px;
    }
    
    .contact-highlights {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .highlight-item {
        flex: 1;
        min-width: 200px;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-hero-content h1 {
        font-size: 36px;
    }
    
    .contact-hero-content p {
        font-size: 18px;
    }
    
    .contact-info-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-info-card h3 {
        font-size: 20px;
    }
    
    .contact-form-header h2 {
        font-size: 28px;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 0.75rem 1.5rem;
        font-size: 16px;
    }
    
    .faq-header h2 {
        font-size: 28px;
    }
    
    .faq-item {
        padding: 1rem;
    }
    
    .faq-item h3 {
        font-size: 18px;
    }
    
    .map-header {
        padding: 2rem 0;
    }
    
    .map-header h2 {
        font-size: 28px;
    }
    
    .map-wrapper iframe {
        height: 300px;
    }
    
    .map-info-section {
        padding: 2rem 0;
    }
    
    .map-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .map-info-card {
        padding: 1rem;
    }
    
    .map-info-icon {
        width: 40px;
        height: 40px;
    }
    
    .map-info-content h3 {
        font-size: 18px;
    }
    
    .map-directions-btn,
    .map-contact-btn {
        padding: 0.4rem 0.8rem;
        font-size: 13px;
    }
    
    .contact-form-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-text h2 {
        font-size: 28px;
    }
    
    .contact-form-text p {
        font-size: 16px;
    }
    
    .contact-highlights {
        flex-direction: column;
        gap: 1rem;
    }
    
    .highlight-item {
        min-width: auto;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}


