@font-face {
    font-family: 'The Wave Sans';
    src: url('assets/fonts/TheWaveSans-Regular.woff2') format('woff2'),
         url('assets/fonts/TheWaveSans-Regular.woff') format('woff'),
         url('assets/fonts/TheWaveSansTT-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'The Wave Sans';
    src: url('assets/fonts/TheWaveSans-Bold.woff2') format('woff2'),
         url('assets/fonts/TheWaveSans-Bold.woff') format('woff'),
         url('assets/fonts/TheWaveSansTT-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

:root {
    /* Approved Brand Colors */
    --ocean-blue: #0032A0;
    --sand-light: #F7F4EF;
    --white: #FFFFFF;
    
    /* Text Colors */
    --headline-dark: #FFFFFF;
    --text-copy: #373737;
    --headline-blue: #0032A0;
    
    /* Secondary/Interactive colors */
    --hover-blue: #1d4ed8;
    --active-teal: #20E98F;
    
    --max-width: 1200px;
}

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

body {
    font-family: 'The Wave Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-copy);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

header {
    background-color: var(--white);
    border-bottom: 1px solid #e5e9f0;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 52px;
    width: auto;
    display: block;
}

/* Hero Section with Ocean Blue and Headline 1 */
.hero {
    background: linear-gradient(rgba(0, 50, 160, 0.45), rgba(0, 50, 160, 0.45)), url('assets/Mountainous-coast-on-the-Greek-island-of-Crete-compressed.jpg');
    background-size: cover;
    background-position: center bottom;
    color: var(--white);
    min-height: 780px; /* Set height of hero banner to 780px as requested */
    text-align: left;
}

.hero .container {
    min-height: 780px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 950px;
    width: 100%;
}

/* Headline 1: 44px desktop / 32px mobile (refined for better corporate balance) */
.hero-title {
    font-size: 44px;
    line-height: 1.2;
    font-weight: bold;
    color: var(--headline-dark);
    margin: 0;
}

/* Hero Subtitle (regular weight): 24px desktop (0.55 H) / 18px mobile (0.56 H) */
/* Spacing between Headline and Subline is exactly 1 H (44px desktop / 32px mobile) */
.hero-subtitle {
    font-size: 24px;
    line-height: 1.45;
    font-weight: normal;
    color: var(--white);
    opacity: 0.95;
    margin-top: 44px; /* Exactly 1 H (44px) as basis size for spacing */
}

.section {
    padding: 60px 0; /* Balanced padding from 80px to 60px for a clean spacing hierarchy */
}

/* Sand Light Section style */
.section-sand {
    background-color: var(--sand-light);
}

.grid {
    display: block;
}

/* Headline 2: 36px desktop / 28px mobile */
h3 {
    color: var(--headline-blue);
    margin-bottom: 24px;
    font-size: 36px;
    font-weight: bold;
    line-height: 1.3;
    display: block;
    text-align: left;
}

/* Copy Small: 16px desktop & mobile, Copy Label color: #373737 */
p {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-copy);
    text-align: left;
    line-height: 1.7;
}

/* Map Presentation (Exploration & Production corporate logic) */
.map-section {
    padding: 60px 0; /* Balanced padding for cleaner corporate aesthetic */
    background-color: var(--ocean-blue); /* Seamless blue background matching map image */
}

.map-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Refined 2-column layout to balance the map's visual weight */
    gap: 48px;
    align-items: center;
}

.map-info {
    text-align: left;
}

.map-section h3 {
    color: var(--active-teal); /* Active teal color for heading */
    border-left-color: var(--active-teal); /* Active teal border bar */
    margin-bottom: 20px;
}

.map-container {
    overflow: hidden;
    box-shadow: none; /* Removed shadow */
    border: none; /* Removed border */
    background: transparent; /* Seamless transparent background */
    padding: 0; /* Removed padding */
}

.map-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Slightly rounded edges for a highly polished corporate feel */
}

.map-caption {
    font-size: 16px; /* Increased font size for better legibility */
    color: var(--white); /* Crisp solid white on blue background */
    line-height: 1.6;
    margin-top: 16px;
}

.map-caption .map-subtitle {
    font-size: 16px; /* Uniform font size matching the rest of the caption */
    font-weight: bold;
    color: var(--white); /* Crisp white color */
    margin-bottom: 8px;
}

/* Financials Block in Sand Light */
.financials {
    background-color: var(--sand-light);
    border: 1px solid #e5e0d8;
    border-left: 6px solid var(--ocean-blue);
    padding: 48px;
    border-radius: 12px;
    text-align: left;
}

.financials h3 {
    color: var(--headline-blue);
    margin-bottom: 24px;
}

.financials-list {
    margin-top: 20px;
}

.financials-row {
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--text-copy);
    display: block; /* Kept inline content inside a block-level row */
}

.financials-row:last-child {
    margin-bottom: 0;
}

.financials-row .text-link {
    margin-left: 12px;
}

/* Textlinks / Buttons (per specifications) */
/* Pill Shaped Button Style */
.btn-primary {
    display: inline-block;
    background-color: var(--ocean-blue);
    color: var(--white);
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 100px; /* Pill Shape */
    font-weight: bold;
    font-size: 16px;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--hover-blue);
}

/* Textlink Style from textlinks.png */
.text-link {
    display: inline-flex;
    align-items: center;
    color: var(--ocean-blue);
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}

.text-link .arrow {
    margin-left: 6px;
    transition: transform 0.2s;
}

.text-link:hover {
    text-decoration: underline;
}

.text-link:hover .arrow {
    transform: translateX(4px);
}

/* Footer & Endorsement with Ocean Blue background */
footer {
    background-color: var(--ocean-blue); /* Entire footer colored with corporate Ocean Blue */
    color: var(--white);
    padding: 60px 0 40px 0;
    font-size: 16px;
}

.footer-stacked {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Keeps visual left-alignment per corporate guidelines */
    gap: 28px;
}

.contact-info-row h4 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 20px; /* Headline 4 */
    font-weight: bold;
}

.contact-info-row p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 6px;
    font-size: 16px;
}

.contact-info-row p:last-child {
    margin-bottom: 0;
}

.endorsement-row {
    display: block;
    align-self: flex-end; /* Align the logo row to the right side of the footer */
}

.endorsement-link {
    display: inline-block;
    transition: transform 0.2s;
}

.endorsement-link:hover {
    transform: scale(1.03);
}

.endorsement-img {
    height: 16px; /* 16px height as requested */
    width: auto;
    display: block;
    filter: brightness(0) invert(1); /* Makes the PNG image pure white */
}

.copyright-row {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
    padding-top: 20px;
}

.copyright-row p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Language Switcher Styles (Pill shaped buttons) */
.lang-switcher {
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: none;
    border: 1.5px solid var(--ocean-blue);
    color: var(--ocean-blue);
    padding: 8px 18px;
    cursor: pointer;
    border-radius: 100px; /* Pill Shape */
    font-size: 14px;
    font-weight: bold;
    transition: all 0.25s;
}

.lang-btn.active {
    background-color: var(--ocean-blue);
    color: var(--white);
}

.lang-btn:hover:not(.active) {
    background-color: var(--sand-light);
}

/* Language Visibility Logic */
body.lang-en [lang="gr"] {
    display: none !important;
}

body.lang-gr [lang="en"] {
    display: none !important;
}

/* Responsive Typography Scale & Grid layout */
@media (max-width: 768px) {
    .hero {
        min-height: 480px; /* Proportional, compact mobile height */
    }

    .hero .container {
        min-height: 480px;
    }

    /* Mobile Scale from typography.png */
    .hero-title {
        font-size: 32px; /* Mobile Headline 1 (H = 32px) */
    }
    
    .hero-subtitle {
        font-size: 18px; /* Mobile Subline (0.56 H) */
        margin-top: 32px; /* Exactly 1 H (32px) spacing on mobile */
    }
    
    h3 {
        font-size: 28px; /* Mobile Headline 2 */
    }
    
    .section {
        padding: 50px 0; /* Slightly tighter spacing on mobile devices */
    }
    
    .map-section {
        padding: 50px 0;
    }
    
    .map-grid {
        grid-template-columns: 1fr; /* Stacks to single column on mobile viewports */
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 38px; /* Shrink logo on extremely small screens to fit switcher */
        max-width: 100%;
    }
}
