/*
Theme Name: ZYT Logistics
Theme URI: https://zyt-logistics.com
Author: ZYT Logistics Team
Author URI: https://zyt-logistics.com
Description: A professional logistics theme for ZYT Logistics based on FLY's website structure.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zyt-logistics
*/

/* Base Styles */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-branding {
    float: left;
    padding: 15px 0;
}

.site-title {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.site-title a {
    color: #0056b3;
    text-decoration: none;
}

.site-description {
    margin: 5px 0 0;
    color: #666;
    font-size: 14px;
}

/* Navigation */
.main-navigation {
    float: right;
    padding: 20px 0;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-navigation li {
    margin-left: 20px;
}

.main-navigation a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: #0056b3;
}

.menu-toggle {
    display: none;
}

/* Social Media Header */
.social-media-header {
    float: right;
    padding: 20px 15px 0 0;
}

.social-media-header a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    background-color: #0056b3;
    color: white;
    border-radius: 50%;
    margin-left: 8px;
    text-align: center;
    font-size: 14px;
    transition: background-color 0.3s;
}

.social-media-header a:hover {
    background-color: #fff;
    color: #0056b3;
}

/* Content Area */
.content-area {
    padding: 40px 0;
}

.page-header {
    margin-bottom: 30px;
}

.page-title {
    font-size: 32px;
    margin: 0 0 20px;
    color: #0056b3;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 86, 179, 0.8), rgba(0, 86, 179, 0.9)), url('../images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 100px 0;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 24px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: #fff;
    color: #0056b3;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
    border: 2px solid #fff;
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: #fff;
}

.btn-primary {
    background: #0056b3;
    color: #fff;
    border-color: #0056b3;
}

.btn-primary:hover {
    background: transparent;
    color: #0056b3;
}

.btn-secondary {
    background: #fff;
    color: #0056b3;
    border-color: #fff;
}

.btn-secondary:hover {
    background: transparent;
    color: #fff;
}

/* Services Overview */
.services-overview {
    padding: 60px 0;
    background: #f8f9fa;
}

.services-overview h2 {
    text-align: center;
    color: #0056b3;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Alternative service grid classes for different page layouts */
.services-grid-3col,
.service-grid,
.grid-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Services container grid layout */
.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.services-container .service-item {
    background: #f8f9fa;
    padding: 30px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: left;
}

.services-container .service-item h2 {
    color: #0056b3;
    display: flex;
    align-items: center;
    gap: 10px;
}

.services-container .service-item ul {
    padding-left: 20px;
}

.services-container .service-item li {
    margin-bottom: 8px;
}

.service-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 48px;
    color: #0056b3;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #0056b3;
    margin: 0 0 15px;
}

/* About Section */
.about-section {
    padding: 60px 0;
    text-align: center;
}

.about-section h2 {
    color: #0056b3;
    margin-bottom: 30px;
}

.about-section p {
    max-width: 800px;
    margin: 0 auto 20px;
}

/* Stats Section */
.stats-section {
    background: #0056b3;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.stat-item {
    display: inline-block;
    margin: 0 30px;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
}

/* Industries Section */
.industries-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.industries-section h2 {
    text-align: center;
    color: #0056b3;
    margin-bottom: 40px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.industry-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.industry-item i {
    font-size: 48px;
    color: #0056b3;
    margin-bottom: 20px;
}

.industry-item h3 {
    color: #0056b3;
    margin: 0 0 15px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 0;
}

.testimonials-section h2 {
    text-align: center;
    color: #0056b3;
    margin-bottom: 40px;
}

.testimonial-item {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.rating {
    color: #ffc107;
    margin-bottom: 20px;
}

.client-info {
    margin-top: 20px;
    font-style: italic;
}

/* CTA Section */
.cta-section {
    background: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: #0056b3;
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 18px;
}

/* Products Page */
.products-intro {
    margin-bottom: 40px;
    text-align: center;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-category {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-category:hover {
    transform: translateY(-5px);
}

.product-category h2 {
    color: #0056b3;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-category i {
    font-size: 24px;
}

.product-category ul {
    padding-left: 20px;
}

/* Services Page */
.services-intro {
    margin-bottom: 40px;
    text-align: center;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.service-item h2 {
    color: #0056b3;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-item i {
    font-size: 24px;
}

.trade-terms {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.trade-terms h2 {
    color: #0056b3;
    text-align: center;
    margin-top: 0;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.term-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
}

.term-item h3 {
    color: #0056b3;
    margin-top: 0;
}

/* Resources Page */
.resources-intro {
    margin-bottom: 40px;
    text-align: center;
}

.resources-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.resource-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.resource-section h2 {
    color: #0056b3;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.resource-section i {
    font-size: 24px;
}

.download-resources {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.download-resources h2 {
    color: #0056b3;
    text-align: center;
    margin-top: 0;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.download-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.download-item h3 {
    color: #0056b3;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* About Page */
.about-intro {
    margin-bottom: 40px;
    text-align: center;
}

.about-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.about-section-content {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.about-section-content h2 {
    color: #0056b3;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-section-content i {
    font-size: 24px;
}

.team-section {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.team-section h2 {
    color: #0056b3;
    text-align: center;
    margin-top: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.team-member {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.team-member h3 {
    color: #0056b3;
    margin-bottom: 5px;
}

.position {
    color: #666;
    font-style: italic;
    margin-top: 0;
}

/* Case Studies */
.case-studies-intro {
    margin-bottom: 40px;
    text-align: center;
}

.case-studies-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-study {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.case-study h2 {
    color: #0056b3;
    margin-top: 0;
}

.case-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.case-details span {
    font-size: 14px;
}

.industry {
    font-weight: bold;
    color: #0056b3;
}

.challenge {
    color: #dc3545;
}

.solution {
    color: #007bff;
}

.result {
    color: #28a745;
}

/* Help Center */
.help-center-intro {
    margin-bottom: 40px;
    text-align: center;
}

.help-center-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-section h2,
.guides-section h2,
.support-section h2 {
    color: #0056b3;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.faq-item h3 {
    color: #0056b3;
    margin-top: 0;
}

.guide-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.guide-item h3 {
    color: #0056b3;
    margin-top: 0;
}

.support-section {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.support-section h2 {
    margin-top: 0;
    text-align: center;
}

.support-contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.support-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.support-item h3 {
    color: #0056b3;
    margin-top: 0;
}

/* Company Culture */
.culture-intro {
    margin-bottom: 40px;
    text-align: center;
}

.culture-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.culture-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.culture-section h2 {
    color: #0056b3;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.culture-section i {
    font-size: 24px;
}

.benefits-section {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.benefits-section h2 {
    color: #0056b3;
    text-align: center;
    margin-top: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.benefit-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.benefit-item h3 {
    color: #0056b3;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.careers-cta {
    background: #0056b3;
    color: #fff;
    padding: 40px;
    border-radius: 5px;
    text-align: center;
    margin-top: 40px;
}

.careers-cta h2 {
    color: #fff;
    margin-top: 0;
}

.careers-cta a.btn {
    background: #fff;
    color: #0056b3;
    border-color: #fff;
}

.careers-cta a.btn:hover {
    background: transparent;
    color: #fff;
}

/* Logistics Management */
.logistics-intro {
    margin-bottom: 40px;
    text-align: center;
}

.logistics-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.logistics-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logistics-section h2 {
    color: #0056b3;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logistics-section i {
    font-size: 24px;
}

.technology-partners {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.technology-partners h2 {
    color: #0056b3;
    text-align: center;
    margin-top: 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.partner-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.partner-item h3 {
    color: #0056b3;
    margin-top: 0;
}

/* Sustainability */
.sustainability-intro {
    margin-bottom: 40px;
    text-align: center;
}

.sustainability-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.sustainability-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.sustainability-section h2 {
    color: #0056b3;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sustainability-section i {
    font-size: 24px;
}

.carbon-calculator,
.sustainability-report {
    background: #0056b3;
    color: #fff;
    padding: 40px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
}

.carbon-calculator h2,
.sustainability-report h2 {
    color: #fff;
    margin-top: 0;
}

.carbon-calculator a.btn,
.sustainability-report a.btn {
    background: #fff;
    color: #0056b3;
    border-color: #fff;
}

.carbon-calculator a.btn:hover,
.sustainability-report a.btn:hover {
    background: transparent;
    color: #fff;
}

/* Additional Services */
.additional-services {
    margin-top: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.additional-services h2 {
    color: #0056b3;
    text-align: center;
    margin-top: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.service-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.service-item h3 {
    color: #0056b3;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Contact Page */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Contact Page */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    font-size: 24px;
    color: #0056b3;
    min-width: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: inherit;
}

/* Newsletter Subscription Messages */
.subscription-success {
    color: #28a745;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
    text-align: center;
}

.subscription-error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
    text-align: center;
}

/* Homepage Logo */
.logo-homepage {
    margin-bottom: 20px;
    text-align: center;
}

.logo-homepage img {
    max-height: 80px;
    width: auto;
}

/* About Us Page Logo */
.logo-about-page {
    text-align: center;
    margin-bottom: 20px;
}

.logo-about-page img {
    max-height: 100px;
    width: auto;
}

/* Footer */
.site-footer {
    background: #333;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-widget-title {
    color: #fff;
    border-bottom: 1px solid #555;
    padding-bottom: 10px;
    margin-top: 0;
}

.footer-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.footer-navigation a {
    color: #ccc;
    text-decoration: none;
}

.footer-navigation a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    font-size: 14px;
}

/* Social Media Links */
.social-media-links {
    text-align: center;
    margin-bottom: 15px;
}

.social-media-links a {
    display: inline-block;
    width: 46px;
    height: 46px;
    line-height: 46px;
    background-color: #0056b3;
    color: white;
    border-radius: 50%;
    margin: 0 8px;
    text-align: center;
    font-size: 18px;
    transition: background-color 0.3s;
}

.social-media-links a:hover {
    background-color: #fff;
    color: #0056b3;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .main-navigation ul {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .main-navigation ul.show {
        display: flex;
    }
    
    .main-navigation li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    
    .main-navigation a {
        display: block;
        padding: 15px;
    }
    
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #333;
    }
    
    .site-branding,
    .main-navigation {
        float: none;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 32px;
    }
    
    .hero-section p {
        font-size: 18px;
    }
    
    .stat-item {
        display: block;
        margin: 20px 0;
    }

    /* Responsive services grid */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-container {
        grid-template-columns: 1fr;
    }
}