/*
Theme Name: ITCO Ltd
Theme URI: https://www.itco-global.com/
Author: ITCO Ltd
Author URI: https://www.itco-global.com/
Description: A conservative, professional WordPress theme for ITCO Ltd - International Trade and Consulting. Clean design with a focus on corporate communication.
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: itco-theme
Tags: one-column, custom-menu, featured-images, full-width-template, translation-ready
*/

/* ===========================
   CSS RESET & BASE STYLES
   =========================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===========================
   TYPOGRAPHY
   =========================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
    color: #4a4a4a;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #004499;
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    color: #4a4a4a;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */

.site-header {
    background-color: #0c0432;
    color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 45px;
    width: auto;
}

.site-logo .logo-text {
    display: flex;
    flex-direction: column;
    margin-left: 15px;
}

.site-logo .company-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.site-logo .company-tagline {
    font-size: 0.75rem;
    color: #999999;
    letter-spacing: 0.02em;
}

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

.main-navigation a {
    color: #cccccc;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
    padding: 8px 0;
    position: relative;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: #ffffff;
    text-decoration: none;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0066cc;
    transition: width 0.2s ease;
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero-section {
    background-color: #1a1a1a;
    padding: 80px 40px 100px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-text .subtitle {
    font-size: 1.25rem;
    color: #999999;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-text p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.7;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0066cc;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===========================
   MAIN CONTENT
   =========================== */

.site-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
}

/* ===========================
   SECTION STYLES
   =========================== */

.content-section {
    padding: 80px 60px;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
}

.content-section:last-child {
    border-bottom: none;
}

/* Sections with background images */
.content-section.bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.content-section.bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.88);
}

.content-section.bg-image .section-header,
.content-section.bg-image .two-column {
    position: relative;
    z-index: 1;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.25rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #0066cc;
}

.section-header p {
    font-size: 1.1rem;
    color: #666666;
    max-width: 800px;
    margin-top: 20px;
    margin-bottom: 0;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.column-content h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.column-content h3:first-child {
    margin-top: 0;
}

/* ===========================
   SERVICE CARDS
   =========================== */

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

.service-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e8e8e8;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card .card-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card .card-icon img {
    width: 36px;
    height: 36px;
}

.service-card h4 {
    font-size: 1.25rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.service-card p {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ===========================
   LIST STYLES
   =========================== */

.styled-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.styled-list li {
    padding: 12px 0;
    padding-left: 24px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    color: #4a4a4a;
}

.styled-list li:last-child {
    border-bottom: none;
}

.styled-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #0066cc;
    border-radius: 50%;
}

/* ===========================
   IMAGE SECTIONS
   =========================== */

.image-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.image-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

/* ===========================
   CONTACT SECTION
   =========================== */

.contact-section {
    background: #1a1a1a;
    color: #ffffff;
    padding: 100px 0;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    color: #ffffff;
    margin-bottom: 2rem;
}

.contact-info h2::after {
    background-color: #0066cc;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item label {
    display: block;
    font-size: 0.85rem;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.contact-item p {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.contact-item a {
    color: #66a3ff;
}

.contact-item a:hover {
    color: #99ccff;
}

/* ===========================
   FOOTER
   =========================== */

.site-footer {
    background: #111111;
    color: #999999;
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333333;
}

.footer-brand .company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-brand p {
    color: #999999;
    font-size: 0.9rem;
    max-width: 400px;
}

.footer-links h4 {
    color: #ffffff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: #999999;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: none;
}

.footer-bottom {
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #666666;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #666666;
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: #999999;
}

/* ===========================
   FEATURED IMAGE SECTIONS
   =========================== */

.featured-image-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 500px;
}

.featured-image-section .image-side {
    background-size: cover;
    background-position: center;
    min-height: 500px;
}

.featured-image-section .content-side {
    display: flex;
    align-items: center;
    padding: 80px;
    background: #ffffff;
}

.featured-image-section .content-side h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.featured-image-section .content-side p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a4a4a;
}

/* Reverse layout */
.featured-image-section.reverse .image-side {
    order: 2;
}

.featured-image-section.reverse .content-side {
    order: 1;
}

/* ===========================
   PARALLAX SECTIONS
   =========================== */

.parallax-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.85);
}

.parallax-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 40px;
}

.parallax-content h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.parallax-content p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .header-container {
        padding: 0 20px;
    }

    .main-navigation {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation.active {
        display: block;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #1a1a1a;
        padding: 20px;
        border-top: 1px solid #333333;
    }

    .main-navigation.active ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation.active a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid #333333;
    }

    .hero-section {
        padding: 120px 20px 60px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

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

    .two-column {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .image-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .featured-image-section {
        grid-template-columns: 1fr;
    }

    .featured-image-section .image-side {
        min-height: 300px;
    }

    .featured-image-section.reverse .image-side {
        order: 1;
    }

    .featured-image-section.reverse .content-side {
        order: 2;
    }

    .featured-image-section .content-side {
        padding: 40px 20px;
    }

    .parallax-section {
        background-attachment: scroll;
    }

    .parallax-content h2 {
        font-size: 2rem;
    }

    .content-section[id="trading"],
    .content-section[id="equipment"],
    .content-section[id="consulting"] {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .site-content {
        padding: 40px 20px;
    }

    .content-section {
        padding: 40px 20px;
    }

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

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 30px;
    }
}
