/* Global Styles */
:root {
    --primary: #FF6B35;
    --primary-dark: #E04E10;
    --secondary: #F7C59F;
    --accent: #EFEFD0;
    --dark: #1A1A1A;
    --light: #FFFFFF;
    --gray: #F5F5F5;
    --dark-gray: #777777;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

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

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--light);
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
header {
    background-color: var(--light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0; /* Reduced padding to accommodate larger logo */
}

/* Logo Styles - SIGNIFICANTLY LARGER */
.logo img {
    height: 100px; /* Increased to 100px for maximum visibility */
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a.active {
    color: var(--primary);
}

nav ul li a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-ship.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light); /* Changed to white text */
    margin-top: 110px; /* Increased to accommodate larger header */
}

.hero-content {
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8); /* Darker shadow for better contrast */
    color: var(--light); /* Explicit white color */
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); /* Darker shadow for better contrast */
    color: var(--light); /* Explicit white color */
}

/* Page Hero - WHITE TEXT FOR ALL PAGE HEADERS */
.page-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), var(--bg-image);
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light);
    margin-top: 110px; /* Increased to accommodate larger header */
}

.page-hero h1 {
    font-size: 2.8rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    color: var(--light); /* Explicit white color */
}

.page-hero p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    color: var(--light); /* Explicit white color */
}

/* Intro Section */
.intro {
    padding: 80px 0;
    text-align: center;
    background-color: var(--gray);
}

.intro h2 {
    color: var(--primary);
}

/* Services Highlight */
.services-highlight {
    padding: 80px 0;
    background-color: var(--light);
}

.services-highlight h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.service-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--gray);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.service-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-item h3 {
    color: var(--primary-dark);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary);
    color: var(--light);
}

.cta h2 {
    color: var(--light);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 60px 0 0;
}

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

/* Footer Logo - LARGER */
.footer-logo img {
    height: 100px; /* Increased to match header logo size */
    margin-bottom: 20px;
}

.footer-contact h3, .footer-links h3 {
    color: var(--light);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* About Page Styles */
.about-content {
    padding: 80px 0;
    display: flex;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.why-choose-us {
    padding: 80px 0;
    background-color: var(--gray);
}

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

.feature-item {
    text-align: center;
    padding: 30px;
    background-color: var(--light);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.team-gallery {
    padding: 80px 0;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--light);
    padding: 10px;
    margin: 0;
    text-align: center;
}

/* Services Page Styles */
.services-detail {
    padding: 80px 0;
}

.service-card {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 60px;
    align-items: center;
}

.service-card.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    min-width: 300px;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-text {
    flex: 1;
    min-width: 300px;
    padding: 0 40px;
}

.service-text ul {
    margin: 20px 0;
    padding-left: 20px;
}

.service-text li {
    margin-bottom: 10px;
}

.service-cta {
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary);
    color: var(--light);
}

.service-cta h2 {
    color: var(--light);
}

/* Track & Trace Page Styles */
.tracking-form {
    padding: 80px 0;
    background-color: var(--gray);
}

.tracking-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

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

.form-group input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.form-group button {
    border-radius: 0 4px 4px 0;
}

.tracking-result {
    margin-top: 30px;
    text-align: left;
}

.result-success, .result-error {
    padding: 20px;
    border-radius: 8px;
}

.result-success {
    background-color: #e8f5e9;
    border-left: 5px solid #4caf50;
}

.result-error {
    background-color: #ffebee;
    border-left: 5px solid #f44336;
}

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

.detail-item {
    margin-bottom: 15px;
}

.detail-label {
    font-weight: 600;
    display: block;
    color: var(--dark-gray);
}

.detail-value {
    display: block;
    margin-top: 5px;
}

.status-on-hold {
    color: #ff9800;
    font-weight: 600;
}

.timeline {
    margin-top: 30px;
    border-left: 2px solid var(--primary);
    padding-left: 20px;
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -26px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary);
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.tracking-help {
    padding: 80px 0;
    text-align: center;
}

.help-box {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--primary);
    color: var(--light);
    padding: 40px;
    border-radius: 8px;
}

.help-box h3 {
    color: var(--light);
}

.contact-methods {
    margin-top: 20px;
}

.contact-methods p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-methods i {
    margin-right: 10px;
}

/* Contact Page Styles */
.contact-content {
    padding: 80px 0;
    display: flex;
    flex-wrap: wrap;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 20px;
    margin-top: 5px;
}

.location-map {
    padding: 0 0 80px;
}

.map-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--light);
    padding: 20px;
}

.map-overlay h3 {
    color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .logo img {
        height: 80px; /* Still large on mobile */
    }
    
    header .container {
        flex-direction: column;
        padding: 15px;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .hero {
        margin-top: 140px; /* Adjusted for larger logo on mobile */
    }
    
    .page-hero {
        margin-top: 140px; /* Adjusted for larger logo on mobile */
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-text, .service-text {
        padding-right: 0;
        padding-bottom: 40px;
    }
    
    .contact-form {
        padding-right: 0;
        padding-bottom: 40px;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .form-group input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .form-group button {
        border-radius: 4px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 70px; /* Minimum size for very small devices */
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p, .page-hero p {
        font-size: 1rem;
    }
    
    .service-card, .service-card.reverse {
        flex-direction: column;
    }
    
    .service-text {
        padding: 20px 0 0;
    }
}