/**
 * Vendom Theme Responsive Styles
 * 
 * @package Vendom
 */

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 28px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    transition: color 0.3s ease;
    position: relative;
}

.site-header.scrolled .mobile-menu-toggle {
    color: var(--text-dark);
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .section-title h2 {
        font-size: 42px;
    }
    
    /* Hero adjustments */
    .hero-section {
        min-height: 80vh !important;
        padding: 100px 0 80px !important;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Mobile Menu */
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #ffffff;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }
    
    .main-navigation a {
        color: var(--text-dark) !important;
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation li {
        border-bottom: 1px solid rgba(17, 17, 17, 0.1);
        list-style: none;
    }
    
    .main-navigation a {
        display: block;
        padding: 20px 0;
    }
    
    /* General */
    .container {
        padding: 0 20px !important;
    }
    
    /* Header */
    .site-header {
        padding: 15px 0 !important;
    }
    
    .site-logo a {
        height: 45px !important;
    }
    
    .site-logo img {
        height: 45px !important;
    }
    
    .site-logo .logo-text {
        font-size: 28px !important;
        line-height: 45px !important;
    }
    
    .site-header.scrolled .site-logo .logo-transparent {
        opacity: 0 !important;
    }
    
    .site-header.scrolled .site-logo .logo-white {
        opacity: 1 !important;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 100vh !important;
        padding: 80px 0 60px !important;
    }
    
    .hero-slogan {
        font-size: 52px !important;
        line-height: 52px !important;
        margin-bottom: 18px !important;
    }
    
    .hero-title {
        font-size: 96px !important;
        line-height: 96px !important;
        margin-bottom: 40px !important;
    }
    
    .mobile-contact-item,
    .mobile-social-icons a {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }
    
    .hero-content {
        max-width: 100% !important;
        padding: 0 10px !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px !important;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 14px 30px !important;
        font-size: 15px !important;
    }
    
    .scroll-down-btn {
        bottom: 25px !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 18px !important;
    }
    
    /* Sections */
    section {
        padding: 60px 0 !important;
        min-height: auto !important;
    }
    
    .section-title h2 {
        font-size: 32px !important;
        margin-bottom: 15px !important;
    }
    
    .section-title p {
        font-size: 16px !important;
    }
    
    /* About Section */
    .about-section {
        padding: 60px 0 !important;
    }
    
    .about-subtitle {
        font-size: 12px !important;
        margin-bottom: 30px !important;
    }
    
    .about-header {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        margin-bottom: 60px !important;
    }
    
    .about-title-wrapper h2 {
        font-size: 28px !important;
        line-height: 1.4 !important;
    }
    
    .about-desc-wrapper p {
        font-size: 15px !important;
    }
    
    .about-cards {
        grid-template-columns: 1fr !important;
        gap: 35px !important;
    }
    
    .about-card .card-icon {
        height: 50px !important;
        margin-bottom: 20px !important;
    }
    
    .about-card .card-icon i {
        font-size: 40px !important;
    }
    
    .about-card h3 {
        font-size: 20px !important;
        margin-bottom: 15px !important;
    }
    
    .about-card p {
        font-size: 14px !important;
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Portfolio Section */
    .portfolio-section {
        padding: 0 0 60px 0 !important;
    }
    
    .portfolio-header {
        margin-bottom: 50px !important;
    }
    
    .portfolio-main-title {
        font-size: 32px !important;
        margin-bottom: 12px !important;
    }
    
    .portfolio-subtitle {
        font-size: 15px !important;
    }
    
    .vendom-portfolio-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .vendom-project-card {
        height: 320px !important;
    }
    
    .project-info {
        padding: 20px !important;
    }
    
    .project-title {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }
    
    .project-category {
        font-size: 12px !important;
        padding: 5px 14px !important;
    }
    
    /* Contact Section */
    .vendom-contact-section {
        padding: 60px 0 !important;
    }
    
    .contact-header {
        margin-bottom: 40px !important;
    }
    
    .contact-title {
        font-size: 32px !important;
    }
    
    .contact-subtitle {
        font-size: 15px !important;
    }
    
    .contact-grid {
        gap: 25px !important;
    }
    
    /* Buttons */
    .btn {
        padding: 13px 28px !important;
        font-size: 15px !important;
    }
    
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 16px !important;
    }
    
    /* Header */
    .site-header {
        padding: 12px 0 !important;
    }
    
    .site-logo a {
        height: 40px !important;
    }
    
    .site-logo img {
        height: 40px !important;
    }
    
    .site-logo .logo-text {
        font-size: 24px !important;
        line-height: 40px !important;
    }
    
    /* Hero */
    .hero-section {
        padding: 70px 0 50px !important;
    }
    
    .hero-slogan {
        font-size: 52px !important;
        line-height: 52px !important;
        margin-bottom: 15px !important;
    }
    
    .hero-title {
        font-size: 96px !important;
        line-height: 96px !important;
        margin-bottom: 35px !important;
    }
    
    .mobile-contact-item,
    .mobile-social-icons a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .hero-mobile-contact-bar {
        top: 70px;
        gap: 15px;
    }
    
    .mobile-social-icons {
        gap: 8px;
    }
    
    .hero-buttons .btn {
        padding: 12px 25px !important;
        font-size: 14px !important;
    }
    
    /* Sections */
    section {
        padding: 50px 0 !important;
    }
    
    .section-title h2 {
        font-size: 28px !important;
    }
    
    .section-title p {
        font-size: 14px !important;
    }
    
    /* About */
    .about-section {
        padding: 50px 0 !important;
    }
    
    .about-title-wrapper h2 {
        font-size: 24px !important;
    }
    
    .about-desc-wrapper p {
        font-size: 14px !important;
    }
    
    .about-cards {
        gap: 30px !important;
    }
    
    .about-card {
        padding: 25px 20px !important;
    }
    
    .about-card h3 {
        font-size: 18px !important;
    }
    
    .about-card p {
        font-size: 13px !important;
    }
    
    /* Portfolio */
    .portfolio-section {
        padding: 0 0 50px 0 !important;
    }
    
    .portfolio-header {
        margin-bottom: 40px !important;
    }
    
    .portfolio-main-title {
        font-size: 28px !important;
    }
    
    .portfolio-subtitle {
        font-size: 14px !important;
    }
    
    .vendom-portfolio-grid {
        gap: 20px !important;
    }
    
    .vendom-project-card {
        height: 280px !important;
    }
    
    .project-info {
        padding: 18px !important;
    }
    
    .project-title {
        font-size: 16px !important;
    }
    
    /* Contact */
    .vendom-contact-section {
        padding: 50px 0 !important;
    }
    
    .contact-title {
        font-size: 28px !important;
    }
    
    .contact-subtitle {
        font-size: 14px !important;
    }
    
    /* Footer */
    .vendom-footer {
        padding: 40px 0 !important;
    }
    
    .footer-grid {
        gap: 20px !important;
    }
    
    /* Buttons */
    .btn {
        padding: 11px 24px !important;
        font-size: 14px !important;
    }
    
    /* Service Items */
    .service-item,
    .about-card {
        padding: 25px 18px !important;
    }
}

/* 375px - Standard Mobile (iPhone SE, etc.) */
@media (max-width: 375px) {
    .container {
        padding: 0 14px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Header */
    .site-header {
        padding: 10px 0 !important;
    }

    .site-logo a {
        height: 36px !important;
    }

    .site-logo img {
        height: 36px !important;
    }

    .site-logo .logo-text {
        font-size: 22px !important;
        line-height: 36px !important;
    }

    .mobile-menu-toggle {
        font-size: 24px;
        padding: 8px;
    }

    .main-navigation {
        width: 85%;
        max-width: 280px;
        padding: 70px 24px 24px;
    }

    .main-navigation a {
        padding: 16px 0;
        font-size: 15px;
    }

    /* Sections */
    section {
        padding: 40px 0 !important;
    }

    .section-title h2 {
        font-size: 24px !important;
    }

    .section-title p {
        font-size: 13px !important;
    }

    /* About */
    .about-section {
        padding: 40px 0 !important;
    }

    .about-subtitle {
        font-size: 11px !important;
        letter-spacing: 2px !important;
        margin-bottom: 24px !important;
    }

    .about-header {
        margin-bottom: 40px !important;
        gap: 20px !important;
    }

    .about-title-wrapper h2 {
        font-size: 22px !important;
    }

    .about-desc-wrapper p {
        font-size: 13px !important;
    }

    .about-cards {
        gap: 24px !important;
    }

    .about-card {
        padding: 22px 16px !important;
    }

    .about-card .card-icon {
        height: 44px !important;
        margin-bottom: 16px !important;
    }

    .about-card .card-icon i {
        font-size: 34px !important;
    }

    .about-card h3 {
        font-size: 17px !important;
        margin-bottom: 12px !important;
    }

    .about-card p {
        font-size: 12px !important;
        line-height: 1.6 !important;
    }

    /* Services */
    .services-grid {
        gap: 16px !important;
    }

    .service-item,
    .about-card {
        padding: 22px 16px !important;
    }

    .service-item h3 {
        font-size: 20px !important;
    }

    .service-item p {
        font-size: 13px !important;
    }

    .service-number {
        font-size: 16px !important;
    }

    /* Portfolio */
    .portfolio-section {
        padding: 0 0 40px 0 !important;
    }

    .portfolio-header {
        margin-bottom: 30px !important;
    }

    .portfolio-main-title {
        font-size: 24px !important;
    }

    .portfolio-subtitle {
        font-size: 13px !important;
    }

    .vendom-portfolio-grid {
        gap: 16px !important;
    }

    .vendom-project-card {
        height: 240px !important;
    }

    .project-info {
        padding: 16px !important;
    }

    .project-title {
        font-size: 15px !important;
        margin-bottom: 8px !important;
    }

    .project-category {
        font-size: 11px !important;
        padding: 4px 10px !important;
    }

    /* Contact */
    .vendom-contact-section {
        padding: 40px 0 !important;
    }

    .contact-title {
        font-size: 24px !important;
    }

    .contact-subtitle {
        font-size: 13px !important;
    }

    /* Footer */
    .vendom-footer {
        padding: 30px 0 !important;
    }

    .footer-grid {
        gap: 18px !important;
    }

    .footer-copyright,
    .footer-follow-text {
        font-size: 12px !important;
    }

    .footer-follow-handle {
        font-size: 14px !important;
    }

    .footer-social-icons a {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    /* Buttons */
    .btn {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }
}

/* 320px - Very Small Mobile (iPhone 5/SE 1st gen, Galaxy S3) */
@media (max-width: 320px) {
    .container {
        padding: 0 10px !important;
        max-width: 100% !important;
        width: 100% !important;
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
    }

    /* Header */
    .site-logo a {
        height: 32px !important;
    }

    .site-logo img {
        height: 32px !important;
    }

    .site-logo .logo-text {
        font-size: 20px !important;
        line-height: 32px !important;
    }

    .mobile-menu-toggle {
        font-size: 22px;
        padding: 6px;
    }

    .main-navigation {
        width: 90%;
        max-width: 260px;
        padding: 65px 20px 20px;
    }

    .main-navigation a {
        padding: 14px 0;
        font-size: 14px;
    }

    /* Sections */
    section {
        padding: 32px 0 !important;
    }

    .section-title h2 {
        font-size: 21px !important;
    }

    .section-title p {
        font-size: 12px !important;
    }

    /* About */
    .about-section {
        padding: 32px 0 !important;
    }

    .about-subtitle {
        font-size: 10px !important;
        letter-spacing: 1.5px !important;
        margin-bottom: 20px !important;
    }

    .about-header {
        margin-bottom: 30px !important;
        gap: 16px !important;
    }

    .about-title-wrapper h2 {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }

    .about-desc-wrapper p {
        font-size: 12px !important;
        line-height: 1.6 !important;
    }

    .about-cards {
        gap: 20px !important;
    }

    .about-card {
        padding: 18px 14px !important;
    }

    .about-card .card-icon {
        height: 38px !important;
        margin-bottom: 14px !important;
    }

    .about-card .card-icon i {
        font-size: 30px !important;
    }

    .about-card h3 {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }

    .about-card p {
        font-size: 11px !important;
        line-height: 1.5 !important;
    }

    /* Services */
    .services-grid {
        gap: 14px !important;
    }

    .service-item {
        padding: 20px 14px !important;
    }

    .service-item h3 {
        font-size: 18px !important;
        margin-bottom: 14px !important;
    }

    .service-item p {
        font-size: 12px !important;
        margin-bottom: 18px !important;
    }

    .service-number {
        font-size: 14px !important;
        margin-bottom: 14px !important;
    }

    .service-item li {
        font-size: 12px !important;
        padding: 8px 0 !important;
    }

    /* Portfolio */
    .portfolio-section {
        padding: 0 0 32px 0 !important;
    }

    .portfolio-header {
        margin-bottom: 24px !important;
    }

    .portfolio-main-title {
        font-size: 21px !important;
    }

    .portfolio-subtitle {
        font-size: 12px !important;
    }

    .vendom-portfolio-grid {
        gap: 14px !important;
    }

    .vendom-project-card {
        height: 200px !important;
    }

    .project-info {
        padding: 14px !important;
    }

    .project-title {
        font-size: 14px !important;
        margin-bottom: 6px !important;
    }

    .project-category {
        font-size: 10px !important;
        padding: 3px 8px !important;
    }

    /* Contact */
    .vendom-contact-section {
        padding: 32px 0 !important;
    }

    .contact-title {
        font-size: 21px !important;
    }

    .contact-subtitle {
        font-size: 12px !important;
    }

    /* Footer */
    .vendom-footer {
        padding: 24px 0 !important;
    }

    .footer-grid {
        gap: 14px !important;
    }

    .footer-copyright,
    .footer-follow-text {
        font-size: 11px !important;
    }

    .footer-follow-handle {
        font-size: 13px !important;
    }

    .footer-social-icons a {
        width: 32px;
        height: 32px;
        font-size: 13px;
        border-radius: 6px;
    }

    .footer-artweb-logo {
        max-height: 32px;
    }

    /* Buttons */
    .btn {
        padding: 9px 18px !important;
        font-size: 12px !important;
        border-radius: 40px;
    }
}

/* Large Desktop Styles */
@media (min-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .mobile-menu-toggle,
    .btn {
        display: none;
    }
    
    section {
        page-break-inside: avoid;
    }
}

