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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    color: #64748b;
    line-height: 1.6;
}

/* Header/Navigation */
header {
    border-bottom: 1px solid #e2e8f0;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    position: relative;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.35rem;
    z-index: 51;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #0f172a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #0f172a;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo:hover {
    color: #005fbf;
}

.logo-icon {
    width: 150px;
    height: 50px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

nav a {
    color: #1e293b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #005fbf;
    transition: width 0.3s ease;
}

nav a:hover {
    color: #005fbf;
}

nav a:hover::after {
    width: 100%;
}

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: #005fbf;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #004099;
}

.btn-outline {
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    color: #0f172a;
}

.btn-outline:hover {
    background-color: #f8fafc;
}

.btn-lg {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 750px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('main-image-poti.jpg') center/cover no-repeat;
    background-attachment: fixed;
    background-position: center;
    overflow: hidden;
    padding: 2rem 1rem;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(34, 197, 94, 0.1));
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 2.8rem;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.hero p {
    font-size: 1.125rem;
    color: #f0f0f0;
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

/* Section */
section {
    padding: 4rem 1rem;
}

section h2 {
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #64748b;
    margin-bottom: 3rem;
    text-align: center;
}

/* About Section */
.about {
    background-color: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

.about-card h3 {
    margin-bottom: 0.75rem;
    color: #0f172a;
}

/* Grid Cards */
.grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 2rem;
    transition: all 0.2s;
}

.card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.card h3 {
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.card p {
    font-size: 0.875rem;
}

/* Terminals Section */
.terminals {
    background-color: #ffffff;
}

.terminal-icon {
    width: 40px;
    height: 40px;
    background-color: #e0f2fe;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.terminal-icon.container-type {
    background-color: #e0f4ff;
    color: #005fbf;
}

.terminal-icon.bulk-type {
    background-color: #fef3c7;
    color: #d97706;
}

.terminal-icon.cargo-type {
    background-color: #fce7f3;
    color: #ec4899;
}

/* News Section */
.news {
    background-color: #f8fafc;
}

.news-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.news-card {
    display: flex;
    flex-direction: column;
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #005fbf, #004099);
    border-radius: 0.5rem 0.5rem 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.875rem;
    text-align: center;
    padding: 1rem;
}

.news-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card h3 {
    margin-bottom: 0.75rem;
}

.news-card p {
    flex: 1;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.news-link {
    color: #005fbf;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.news-link:hover {
    color: #004099;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-top: 1px solid #cbd5e1;
    border-bottom: 1px solid #cbd5e1;
    padding: 3rem 1rem;
    margin-top: 4rem;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-form input {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-family: inherit;
}

.contact-form input:focus {
    outline: none;
    border-color: #005fbf;
    box-shadow: 0 0 0 3px rgba(0, 95, 191, 0.1);
}

.contact-form button {
    padding: 0.75rem 1.5rem;
    background-color: #005fbf;
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.contact-form button:hover {
    background-color: #004099;
}

.email-link {
    color: #005fbf;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.email-link:hover {
    color: #004099;
    text-decoration: underline;
}

/* Footer */
footer {
    border-top: 1px solid #e2e8f0;
    background-color: #f8fafc;
    padding: 3rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0f172a;
    margin-bottom: 1rem;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #0f172a;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.875rem;
    margin: 0 auto;
    max-width: 1280px;
}

/* Responsive - Extra Small Devices (< 480px) */
@media (max-width: 479px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1rem;
    }

    p {
        font-size: 0.875rem;
    }

    header {
        border-bottom: none;
    }

    .hero {
        min-height: 550px;
        padding: 1.5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .hero p {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    .header-container {
        padding: 0.75rem;
        gap: 0;
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        gap: 0;
    }

    .logo-icon {
        width: 80px;
        height: 50px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-bottom: 1px solid #e2e8f0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 50;
    }

    .nav-menu.active {
        max-height: 100vh;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    .nav-menu li {
        border-bottom: 1px solid #e2e8f0;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        text-align: left;
        color: #1e293b;
    }

    .nav-menu a::after {
        display: none;
    }

    nav {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .btn-lg {
        padding: 0.6rem 1rem;
    }

    section {
        padding: 2rem 1rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form {
        flex-direction: column;
    }

    .contact-form input {
        min-width: 100%;
    }

    .contact-form button {
        width: 100%;
    }
}

/* Responsive - Small Devices (480px - 768px) */
@media (max-width: 768px) and (min-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    header {
        border-bottom: none;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        min-height: 700px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .header-container {
        padding: 0.875rem;
        gap: 0;
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        gap: 0;
    }

    .logo-icon {
        width: 100px;
        height: 50px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-bottom: 1px solid #e2e8f0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 50;
    }

    .nav-menu.active {
        max-height: 100vh;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    .nav-menu li {
        border-bottom: 1px solid #e2e8f0;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        text-align: left;
        color: #1e293b;
    }

    .nav-menu a::after {
        display: none;
    }

    nav {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .contact-form {
        flex-direction: column;
    }

    .contact-form input {
        min-width: 100%;
    }

    .contact-form button {
        width: 100%;
    }
}

/* Responsive - Tablets (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1023px) {
    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        min-height: 600px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .logo-icon {
        width: 120px;
        height: 50px;
    }

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

    .contact-form {
        flex-wrap: wrap;
    }
}

/* Responsive - Desktop (1024px - 1280px) */
@media (min-width: 1024px) and (max-width: 1279px) {
    .container {
        max-width: 100%;
        padding: 0 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Responsive - Large Screens (> 1280px) */
@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
        margin: 0 auto;
    }
}
