/* ==============================================
   INNOVENTIA - Modern Transport Website
   ============================================== */

/* CSS Variables */
:root {
    --primary-color: #E31E24;
    --primary-dark: #B01318;
    --primary-light: #FF4148;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #e9ecef;
    --border-color: #dee2e6;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --max-width: 1200px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==============================================
   NAVIGATION
   ============================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    box-shadow: none;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    filter: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu li a {
    font-weight: 500;
    color: #ffffff;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.navbar.scrolled .nav-menu li a {
    color: var(--text-dark);
}

.nav-menu li a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.navbar.scrolled .nav-menu li a:not(.nav-cta)::after {
    background: var(--primary-color);
}

.nav-menu li a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary-color);
    color: white !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    transition: var(--transition);
}

.navbar.scrolled .mobile-menu-toggle span {
    background: var(--text-dark);
}

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

.hero {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: #1a1a1a;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.6) contrast(1.1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.15) 1px, transparent 1px);
    background-size: 2px 2px;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #f0f0f0;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-sygnet {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.scroll-indicator span {
    width: 4px;
    height: 10px;
    background: #ffffff;
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}

/* Career Hero Variant */
.career-hero {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

/* ==============================================
   BUTTONS
   ============================================== */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    text-align: center;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.hero .btn-secondary {
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: #ffffff;
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: white;
}

.btn-block {
    width: 100%;
    display: block;
}

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

.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header.center {
    text-align: center;
}

.section-label {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ==============================================
   ABOUT SECTION
   ============================================== */

.about {
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.125rem;
}

.about-text .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==============================================
   SERVICES SECTION
   ============================================== */

.services {
    background: var(--bg-light);
}

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

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ==============================================
   FLEET SECTION
   ============================================== */

.fleet {
    background: var(--bg-white);
}

.fleet-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.fleet-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fleet-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.fleet-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.fleet-description {
    font-size: 1.125rem;
}

.fleet-intro {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.fleet-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fleet-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.fleet-features li:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
    background: rgba(227, 30, 36, 0.05);
}

.fleet-features svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.fleet-features span {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 1rem;
}

/* ==============================================
   WHY US SECTION
   ============================================== */

.why-us {
    background: var(--bg-light);
}

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

.why-item {
    padding: 2rem;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.why-item:hover::before {
    transform: scaleX(1);
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.why-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1;
}

.why-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.why-item p {
    color: var(--text-gray);
    line-height: 1.7;
}

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

.contact {
    background: var(--bg-white);
}

.contact .section-header {
    margin-bottom: 1rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-color);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.contact-item p {
    color: var(--text-gray);
}

/* ==============================================
   FORMS
   ============================================== */

.contact-form-wrapper,
.application-form-wrapper {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
}

.contact-form,
.application-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-top: -0.5rem;
}

.recaptcha-notice {
    display: block;
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.6);
    text-align: center;
    margin-top: 1rem;
    line-height: 1.5;
}

.recaptcha-notice a {
    color: var(--primary-color);
    text-decoration: underline;
}

.recaptcha-notice a:hover {
    color: var(--primary-dark);
}

/* ==============================================
   JOB OFFER SECTION (Career Page)
   ============================================== */

.job-offer {
    background: var(--bg-white);
}

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

.offer-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.offer-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.offer-icon svg {
    width: 30px;
    height: 30px;
}

.offer-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.offer-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ==============================================
   REQUIREMENTS SECTION (Career Page)
   ============================================== */

.requirements {
    background: var(--bg-light);
}

.requirements-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.requirements-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.requirements-column h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.requirements-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.requirements-list li:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.requirements-list svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.requirements-list span {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ==============================================
   APPLICATION SECTION (Career Page)
   ============================================== */

.application {
    background: var(--bg-white);
}

.application-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

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

.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
    padding-left: 5px;
}

.footer-section p,
.footer-section li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
}

/* ==============================================
   ANIMATIONS
   ============================================== */

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.fade-in:nth-child(1) {
    animation-delay: 0.2s;
}

.fade-in:nth-child(2) {
    animation-delay: 0.4s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.6s;
}

.fade-in:nth-child(4) {
    animation-delay: 0.8s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .fleet-content,
    .contact-wrapper,
    .application-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-sygnet {
        max-width: 300px;
    }

    .fleet-image img {
        max-width: 400px;
    }

    .requirements-content {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        align-items: flex-start;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        padding: 1rem;
        color: var(--text-dark) !important;
    }

    .nav-menu li a:not(.nav-cta)::after {
        background: var(--primary-color);
    }

    .nav-menu li a.nav-cta {
        width: 100%;
        text-align: center;
        color: white !important;
        background: var(--primary-color) !important;
    }

    /* Sections */
    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

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

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-scroll {
        display: none;
    }

    /* Grids */
    .services-grid,
    .why-grid,
    .offer-grid {
        grid-template-columns: 1fr;
    }

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

    .requirements-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper,
    .application-form-wrapper {
        padding: 1.5rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

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

    .service-card,
    .offer-card {
        padding: 1.5rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
    }
}

/* ==============================================
   UTILITY CLASSES
   ============================================== */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden {
    display: none;
}

/* ==============================================
   LANGUAGE SWITCHER
   ============================================== */

.lang-switcher {
    display: flex;
    align-items: center;
}

.lang-link {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1rem !important;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 600;
    color: #ffffff !important;
}

.navbar.scrolled .lang-link {
    background: var(--bg-light);
    color: var(--text-dark) !important;
}

.lang-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled .lang-link:hover {
    background: var(--primary-color);
}

.lang-link:hover .lang-text {
    color: white !important;
}

.navbar.scrolled .lang-link:hover .lang-text {
    color: white !important;
}

.lang-link:hover::after {
    display: none;
}

.lang-flag {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px;
    min-height: 24px;
    max-width: 24px;
    max-height: 24px;
    flex-shrink: 0;
    display: inline-block;
    border-radius: 2px;
    overflow: hidden;
    vertical-align: middle;
}

.lang-text {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 24px;
    color: inherit;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

/* ==============================================
   COMPANY DETAILS BOX
   ============================================== */

.company-contact-highlight-standalone {
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.05), rgba(227, 30, 36, 0.02));
    padding: 1.25rem;
    border-radius: var(--border-radius);
    border: 2px solid rgba(227, 30, 36, 0.15);
    margin-top: 0;
    margin-bottom: 2rem;
}

.company-details-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.company-details-box h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.company-detail-group {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.company-detail-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.company-detail-compact {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.9rem;
}

.company-detail-compact strong {
    color: var(--text-dark);
    font-weight: 600;
}

.company-detail-compact a {
    color: var(--primary-color);
    font-weight: 500;
}

.company-detail-compact a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Contact Highlight */
.company-contact-highlight {
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.05), rgba(227, 30, 36, 0.02));
    padding: 1.25rem;
    border-radius: var(--border-radius);
    border: 2px solid rgba(227, 30, 36, 0.15);
}

.company-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.company-contact-item:last-child {
    margin-bottom: 0;
}

.contact-highlight-icon {
    width: 22px;
    height: 22px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-highlight-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
}

.contact-highlight-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
    transform: translateX(3px);
}

.bank-account {
    display: inline-block;
    background: var(--bg-white);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--text-dark);
    margin-top: 0.25rem;
    border: 1px solid var(--border-color);
}

/* ==============================================
   RESPONSIVE - LANGUAGE SWITCHER
   ============================================== */

@media (max-width: 768px) {
    .lang-switcher {
        width: 100%;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--border-color);
    }
    
    .lang-link {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem !important;
        background: transparent;
        border: 1px solid var(--border-color);
        font-weight: 500;
        gap: 0.625rem;
        color: var(--text-dark) !important;
    }
    
    .lang-link:hover {
        background: var(--bg-light);
        border-color: var(--text-gray);
        transform: none;
        box-shadow: none;
    }
    
    .lang-link:hover .lang-text {
        color: var(--text-dark) !important;
    }
    
    .lang-flag {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px;
        min-height: 24px;
        max-width: 24px;
        max-height: 24px;
    }
    
    .lang-text {
        font-size: 0.875rem;
        color: var(--text-dark);
    }
    
    .company-details-box {
        padding: 1.5rem;
    }
    
    .bank-account {
        font-size: 0.75rem;
        word-break: break-all;
    }
}

/* ==============================================
   EUROPE MAP ANIMATION
   ============================================== */

.hero-map {
    width: 100%;
    max-width: 650px;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.7));
    position: relative;
    z-index: 1;
}

.europe-map-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Map outline */
.map-outline {
    fill: rgba(255, 255, 255, 0.98) !important;
    fill-opacity: 1 !important;
    stroke: #ffffff;
    stroke-width: 0.5;
    stroke-linejoin: round;
    opacity: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* City dots */
.city-dot {
    fill: var(--primary-color);
    stroke: white;
    stroke-width: 4;
    opacity: 1;
    animation: pulseDot 2s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(227, 30, 36, 1)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

@keyframes pulseDot {
    0%, 100% {
        r: 10;
        opacity: 1;
    }
    50% {
        r: 14;
        opacity: 1;
    }
}

/* Route lines */
.route-line {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 5;
    stroke-linecap: round;
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(227, 30, 36, 1)) drop-shadow(0 0 5px rgba(227, 30, 36, 0.8));
}

/* Draw line animation */
@keyframes drawLine {
    from {
        stroke-dashoffset: var(--line-length, 1000);
    }
    to {
        stroke-dashoffset: 0;
    }
}

/* Responsive adjustments for map */
@media (max-width: 1024px) {
    .hero-map {
        max-width: 550px;
    }
}

@media (max-width: 768px) {
    .hero-map {
        max-width: 450px;
    }
    
    .city-dot {
        animation: pulseDot 2.5s ease-in-out infinite;
    }
    
    @keyframes pulseDot {
        0%, 100% {
            r: 8;
            opacity: 1;
        }
        50% {
            r: 11;
            opacity: 1;
        }
    }
    
    .route-line {
        stroke-width: 3.5;
    }
}

@media (max-width: 480px) {
    .hero-map {
        max-width: 300px;
    }
    
    .route-line {
        stroke-width: 2;
    }
}

/* ==============================================
   PRINT STYLES
   ============================================== */

/* ==============================================
   POLICY PAGES (PRIVACY & COOKIE)
   ============================================== */

.policy-page {
    padding: 8rem 0 4rem;
    min-height: 60vh;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.policy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.policy-content .last-updated {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: var(--text-color);
}

.policy-section h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    color: var(--text-color);
}

.policy-section p {
    margin-bottom: 1rem;
    color: rgba(0, 0, 0, 0.8);
}

.policy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
    color: rgba(0, 0, 0, 0.8);
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: underline;
}

.policy-section a:hover {
    color: var(--primary-dark);
}

/* ==============================================
   GOOGLE reCAPTCHA BADGE HIDING
   ============================================== */

/* Hide reCAPTCHA badge - using visibility: hidden instead of display: none
   to avoid disabling spam checking (as per Google guidelines) */
.grecaptcha-badge {
    visibility: hidden !important;
}

@media print {
    .navbar,
    .footer,
    .hero-scroll,
    .mobile-menu-toggle,
    .lang-switcher {
        display: none;
    }

    .section {
        page-break-inside: avoid;
    }
    
    .company-details-box {
        page-break-inside: avoid;
    }
}

