
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 1199px) {
    .hero-content {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .logo-img {
        width: 250px;
        height: 67px;
    }
}

@media (max-width: 991px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-img {
        width: 200px;
        height: 53px;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .navbar-menu {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 80px 0;
        min-height: 100vh;
    }
    
    .hero-badge {
        margin: 0 auto 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
    }
    
    .hero-stats .stat-item {
        min-width: 100px;
        flex: 0 1 auto;
    }
    
    .hero-stats .stat-number {
        font-size: 2rem;
    }
    
    .hero-stats .stat-label {
        font-size: 0.75rem;
        white-space: normal;
        line-height: 1.2;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .news .section-header {
        margin-bottom: 2rem;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 10px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .logo-img {
        width: 150px;
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .navbar-actions {
        gap: 0.5rem;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .hero {
        padding: 0;
        min-height: 100vh;
        margin-top: 0; 
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }
    
    .hero-stats .stat-item {
        min-width: auto;
        flex: 1;
        text-align: center;
    }
    
    .hero-stats .stat-number {
        font-size: 1.75rem;
    }
    
    .hero-stats .stat-label {
        font-size: 0.7rem;
        white-space: normal;
        line-height: 1.3;
        max-width: none;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .services {
        padding: 60px 0;
        margin-top: 140px; 
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .fuel-icon {
        width: 40px;
        height: 40px;
    }
    
    .news {
        padding: 60px 0;
        margin-top: 140px; 
    }
    
    .about-hero {
        margin-top: 140px; 
    }
    
    .news-section {
        margin-top: 140px; 
    }
    
    .post-section {
        margin-top: 140px; 
    }
    
    
    .page-header {
        margin-top: 140px; 
        padding: 60px 0 40px;
    }
    
    .page-header .page-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .page-header .page-subtitle {
        font-size: 1rem;
    }
    
    .page-header {
        padding: 40px 0 30px;
    }
    
    .page-header .page-title {
        font-size: 1.75rem;
    }
    
    .page-header .page-subtitle {
        font-size: 0.9rem;
    }
    
    .contact-section {
        margin-top: 0; 
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-details {
        gap: 1rem;
    }
    
    .contact-item {
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .rinaco-offers {
        margin-top: 140px; 
    }
    
    .logistics {
        margin-top: 140px; 
    }
    
    .logistics .section-title {
        font-size: 2rem;
    }
    
    .logistics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .logistics-card {
        padding: 1.5rem;
    }
    
    .logistics-icon {
        width: 60px;
        height: 60px;
    }
    
    .logistics-icon-img {
        width: 40px;
        height: 40px;
    }
    
    .logistics-title {
        font-size: 1.25rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-card {
        padding: 1.5rem;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 1rem;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 2rem;
    }
    
    .page-header {
        padding: 80px 0 60px;
    }
    
    .page-header .page-title {
        font-size: 2.5rem;
    }
    
    .page-header .page-subtitle {
        font-size: 1.125rem;
    }
    
    .map-section {
        padding: 80px 0;
    }
    
    .map-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .form-control {
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    .language-switcher {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.1rem; }
    
    .logo-img {
        width: 120px;
        height: 32px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .fuel-icon {
        width: 30px;
        height: 30px;
    }
    
    .logistics .section-title {
        font-size: 1.75rem;
    }
    
    .logistics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .logistics-card {
        padding: 1rem;
    }
    
    .logistics-icon {
        width: 50px;
        height: 50px;
    }
    
    .logistics-icon-img {
        width: 35px;
        height: 35px;
    }
    
    .logistics-title {
        font-size: 1.1rem;
    }
    
    .contact-section {
        padding: 40px 0;
        margin-top: 0; 
    }
    
    .contact-info,
    .contact-form {
        padding: 1rem;
    }
    
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-details {
        gap: 0.75rem;
    }
    
    .contact-item {
        gap: 0.5rem;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    .contact-text h3 {
        font-size: 1rem;
    }
    
    .contact-text p {
        font-size: 0.875rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .map-section {
        padding: 60px 0;
    }
    
    .map-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .hero,
    .about-hero,
    .news-section,
    .post-section,
    .page-header,
    .services,
    .rinaco-offers,
    .logistics {
        margin-top: 160px; 
    }
    
    .contact-section {
        margin-top: 0;
    }
    
    
    .page-header {
        padding: 25px 0 15px;
    }
    
    .page-header .page-title {
        font-size: 1.25rem;
    }
    
    .page-header .page-subtitle {
        font-size: 0.75rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 0.5rem;
    }
    
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.1rem;
    }
    
    .contact-text h3 {
        font-size: 0.8rem;
    }
    
    .contact-text p {
        font-size: 0.75rem;
    }
    
    .form-control {
        padding: 6px 8px;
        font-size: 0.8rem;
    }
    
    .map-container iframe {
        height: 200px;
    }
    
    .map-section {
        padding: 40px 0;
    }
    
    .map-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 0.75rem;
    }
    
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.25rem;
    }
    
    .contact-text h3 {
        font-size: 0.9rem;
    }
    
    .contact-text p {
        font-size: 0.8rem;
    }
    
    .form-control {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    .map-container iframe {
        height: 250px;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .btn-large {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .nav-menu {
        padding-top: 1rem;
        gap: 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-title {
        font-size: 1.5rem;
    }
    
    .footer-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        padding: 0;
        min-height: 300px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        padding-top: 1rem;
    }
    
    .services {
        padding: 40px 0;
    }
    
    .news {
        padding: 40px 0;
    }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

@media print {
    .header,
    .mobile-menu-toggle,
    .auth-buttons,
    .language-switcher {
        display: none !important;
    }
    
    .hero {
        padding: 20px 0;
        background: none !important;
    }
    
    .service-card,
    .news-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

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

@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #ffffff;
    }
    
    .header {
        background: rgba(26, 26, 26, 0.95);
    }
    
    .nav-link {
        color: #ffffff;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: #667eea;
    }
    
    .service-card,
    .news-card {
        background: #2a2a2a;
        color: #ffffff;
    }
    
    .form-control {
        background: #2a2a2a;
        color: #ffffff;
        border-color: #444;
    }
    
    .form-control:focus {
        border-color: #667eea;
    }
} 

@media (max-width: 360px) {
    .container {
        padding: 0 5px;
    }
    
    .logo-img {
        width: 100px;
        height: 27px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-actions {
        gap: 0.25rem;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .lang-btn {
        padding: 3px 6px;
        font-size: 0.7rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .fuel-icon {
        width: 25px;
        height: 25px;
    }
    
    .hero,
    .about-hero,
    .news-section,
    .post-section,
    .page-header,
    .services,
    .rinaco-offers,
    .logistics {
        margin-top: 160px; 
    }
    
    .contact-section {
        margin-top: 0; 
    }
} 