/* ==============================================
   PREMIUM AGENCY TEMPLATE CSS
   Modern, Responsive, Premium Design
   Copyright: Helena Komninos
   ============================================== */

/* CSS Custom Properties (CSS Variables) */
:root { 
    /* Dynamic Propertys (set via JavaScript) */
    --boder-radius: 0px;
    --logo-height: 50px;
    --logo-height-mobile: 40px;
    --hero-background-height: 120%;
    
    /* Color Palette (set via JavaScript) */
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --primary-dark: #0f1419;

    --secondary: #e94560;
    --secondary-light: #ff6b7a;
    --secondary-dark: #c73b50;

    --accent: #0f4c75;
    --accent-light: #3282b8;
    --accent-dark: #0a3d62;
    
    /* Dynamic Colors (set via JavaScript) */
    --nav-menu-color: #FFD166;
    --nav-background: rgba(26, 26, 46, 0.9);
    --nav-background-mobile: rgba(26, 26, 46, 0.98);
    --nav-border: rgba(255, 255, 255, 0.1);
    --hero-headline: #FFD166;
    --hero-overlay-start: rgba(26, 26, 46, 0.1);
    --hero-overlay-middle: rgba(15, 76, 117, 0.9);
    --hero-overlay-end: rgba(26, 26, 46, 0.0);
    --cta-overlay-start: rgba(26, 26, 46, 0.9);
    --cta-overlay-end: rgba(15, 76, 117, 0.8);
    --triangle-color: #FF6B6B;
    --triangle-hover-color: #FFD166;
    --section-tag-light: rgba(255, 255, 255, 0.2);
    --nav-link-hover: rgba(255, 255, 255, 0.05);
    --footer-border: rgba(255, 255, 255, 0.1);
    --footer-text: rgba(255, 255, 255, 0.8);
    --footer-link: rgba(255, 255, 255, 0.7);
    --service-icon-color: var(--accent);


    /* Neutral Colors */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f8f9fa;
    --gray-100: #e9ecef;
    --gray-200: #dee2e6;
    --gray-300: #ced4da;
    --gray-400: #adb5bd;
    --gray-500: #6c757d;
    --gray-600: #495057;
    --gray-700: #343a40;
    --gray-800: #212529;
    --gray-900: #0d1117;
    
    /* Text Colors */
    --text-light: #ffffff;
    --text-dark: #0d1117;
    --text-muted: #6c757d;
    --text-primary: #1a1a2e;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    
    /* Spacing System (8px grid) */
    --space-xs: 0.5rem;    /* 8px */
    --space-sm: 1rem;      /* 16px */
    --space-md: 1.5rem;    /* 24px */
    --space-lg: 2rem;      /* 32px */
    --space-xl: 3rem;      /* 48px */
    --space-2xl: 4rem;     /* 64px */
    --space-3xl: 6rem;     /* 96px */
    --space-4xl: 8rem;     /* 128px */
    
    /* Border Radius */
    --radius-sm: 0.25rem;  /* 4px */
    --radius-md: 0.5rem;   /* 8px */
    --radius-lg: 0.75rem;  /* 12px */
    --radius-xl: 1rem;     /* 16px */
    --radius-2xl: 1.5rem;  /* 24px */
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
}

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

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

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

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 600;
}

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

h6 {
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    margin-bottom: var(--space-md);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--white);
}

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

a:hover {
    color: var(--accent-light);
}

/* ==============================================
   LAYOUT COMPONENTS
   ============================================== */

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

.section {
    padding: var(--space-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.section-title {
    max-width: 800px;
    margin: 0 auto var(--space-lg);
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    margin: 0 auto;
    border-radius: var(--radius-full);
}

/* ==============================================
   INTRO TRIANGLE BUTTON
   ============================================== */

.intro-flag {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2000;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 80px 80px 0;
    border-color: transparent var(--triangle-color) transparent transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    overflow: visible;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* Subtle pulse animation to draw attention */
@keyframes subtlePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: -3px 3px 15px rgba(255, 107, 107, 0.4);
    }
}

.intro-flag:hover {
    right: 0;
    width: 220px;
    height: 220px;
    background: var(--triangle-hover-color);
    border-width: 0;
    border-color: transparent;
    text-align: right;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    box-shadow: -4px 4px 25px rgba(255, 209, 102, 0.5);
}
.intro-flag-icon {
    position: absolute;
    top: 15px;
    right: -70px;
    font-size: 1.2rem;
    opacity: 1;
    transform: scale(1);
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    z-index: 2001;
    line-height: 1;
    display: block;
}

.intro-flag:hover .intro-flag-icon {
    top: 85px;
    right: 35px;
}

.intro-flag-text {
    position: absolute;
    top: 30px;
    right: 25px;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateX(30px) translateY(-10px);
    transition: all 0.3s ease-out 0.1s;
    white-space: nowrap;
    pointer-events: none;
    text-shadow: none;
}

.intro-flag:hover .intro-flag-text {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Animation on page load */
@keyframes triangleSlideIn {
    from {
        right: -40px;
        opacity: 0;
    }
    to {
        right: 0;
        opacity: 1;
    }
}

.intro-flag {
    animation: triangleSlideIn 0.6s ease-out 0.5s both;
}

/* Mobile: Smaller triangle */
@media (max-width: 768px) {
    .intro-flag {
        border-width: 0 60px 60px 0;
    }
    
    .intro-flag:hover {
        width: 180px;
        height: 180px;
    }
    .intro-flag-icon {
        top: 10px;
        right: -55px;
        font-size: 1rem;
    }
    .intro-flag-text {
        top: 20px; 
        right: 20px;
        font-size: 0.75rem;
    }
    @keyframes triangleSlideIn {
        from {
            right: -30px;
            opacity: 0;
        }
        to {
            right: 0;
            opacity: 1;
        }
    }
}

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

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;


    z-index: 1000;
    background: var(--nav-background);
    border-bottom: 1px solid var(--nav-border);
    backdrop-filter: blur(20px);
    transition: all var(--transition-normal);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.logo {
    position: absolute;
    border-radius: var(--boder-radius);
    height: var(--logo-height);
    width: auto;
    transition: transform var(--transition-normal);
    flex-shrink: 0;
}

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

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    margin: 0 auto;
    gap: var(--space-lg);
    list-style: none;
}

.nav-link {
    color: var(--nav-menu-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--secondary);
    transition: transform var(--transition-normal);
}

.nav-link:hover {
    color: var(--secondary-light);
    transform: translateY(-2px);
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Mobile Menu Toggle Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-light);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--hero-background-height, 120%);
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        152deg,
        rgba(26, 26, 46, 0.1) 17%,
        rgba(15, 76, 117, 0.9) 40%,
        rgba(26, 26, 46, 0.0) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: center;
    color: var(--text-light);
}

.hero-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-headline {
    color: var(--hero-headline);
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subline {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-2xl);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.scroll-indicator {    
    margin-top: var(--space-2xl);
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: var(--white);
    border-radius: var(--radius-full);
    position: relative;
    animation: scroll-bounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
}

@keyframes scroll-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.stars {
    position: absolute;
    right: 40px;
    bottom: -12rem;
    background: rgb(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Diagonal shine animation */
.stars::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transition: left 0.6s ease-out;
    z-index: 1;
    pointer-events: none;
}

.stars:hover::before {
    left: 100%;
}

.stars:hover {
    background: rgb(0, 0, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.stars svg {
    width: 20px;
    color: var(--accent-light);
    transition: all var(--transition-normal);
}

.stars:hover svg {
    color: var(--secondary-light);
    transform: scale(1.01);
}

.stars p {
    margin-bottom: 0.5rem;
    transition: color var(--transition-normal);
}

.stars:hover p {
    color: rgba(255, 255, 255, 0.9);
}

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

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-2xl);
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.cta-btn:hover::before {
    left: 100%;
}

.primary-cta {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.primary-cta:hover {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.secondary-cta {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
}

.secondary-cta:hover {
    background: var(--white);
    color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.services {
    background: var(--gray-50);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.service-card {
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--accent-light);
}

.service-icon {
    display: inline-flex;
    width: 60px;
    height: 60px;
    margin-bottom: var(--space-lg);
    color: var(--service-icon-color, var(--accent));
}

.service-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

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

.service-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ==============================================
   ARTICLES/PORTFOLIO SLIDER SECTION
   ============================================== */

.articles {
    background: var(--white);
    position: relative;
}

.articles-slider-wrapper {
    position: relative;
    margin-top: var(--space-3xl);
}

.articles-slider-container {
    overflow: hidden;
    position: relative;
    margin: 0 60px;
}

.articles-slider-track {
    display: flex;
    align-items: stretch;
    gap: var(--space-sm);
    padding: 0rem 0 4rem 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.article-link {
    flex: 0 0 calc(34.333% - 1.5rem);
    min-width: 0;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-self: stretch;
}

.article-card {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-link:hover .article-card {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.article-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 86.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    background: var(--gray-100);
}

.article-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.article-card:hover .article-image {
    transform: scale(1.05);
}

.article-tag {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    background: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.article-content {
    padding: var(--space-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.3;
    word-break: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.article-text {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0;
    flex: 1;
    word-break: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--white);
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 10;
    color: var(--accent);
    box-shadow: var(--shadow-md);
}

.slider-nav:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-nav svg {
    width: 20px;
    height: 20px;
}

.slider-nav-prev {
    left: 0;
}

.slider-nav-next {
    right: 0;
}

.slider-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

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

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-content {
    padding-right: var(--space-lg);
}

.about-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: var(--space-2xl);
}

.about-features {
    display: flex;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

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

.feature-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    font-family: var(--font-display);
    line-height: 1;
}

.feature-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--space-xs);
}

.about-image-container {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.image-wrapper:hover .about-image {
    transform: scale(1.05);
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: var(--radius-full);
    opacity: 0.1;
    z-index: -1;
}

/* ==============================================
   CTA SECTION
   ============================================== */

.cta {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 46, 0.9) 0%,
        rgba(15, 76, 117, 0.8) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-inner {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    color: var(--white);
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-2xl);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

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

.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: var(--space-2xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.footer-text {
    color: var(--footer-text);
    margin: 0;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-link {
    color: var(--footer-link);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}
.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--secondary);
    transition: transform var(--transition-normal);
}

.footer-link:hover {
    color: var(--secondary-light);
    transform: translateY(-2px);
}

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

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .container {
        padding: 0 var(--space-lg);
    }
    
    .hero-inner {
        padding: 0 var(--space-lg);
    }
}

/* Medium screens (768px to 1199px) */
@media (max-width: 1199px) {
    .section {
        padding: var(--space-2xl) 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
        gap: var(--space-md);
    }
}

/* Small screens (768px and down) */
@media (max-width: 768px) {
    :root {
        --space-xs: 0.375rem;
        --space-sm: 0.75rem;
        --space-md: 1rem;
        --space-lg: 1.5rem;
        --space-xl: 2rem;
        --space-2xl: 2.5rem;
        --space-3xl: 4rem;
        --space-4xl: 5rem;
    }
    
    .container {
        padding: 0 var(--space-md);
    }
    
    .nav-container {
        padding: var(--space-sm) var(--space-md);
        position: relative;
    }
    
    .logo {
        height: var(--logo-height-mobile);
    }
    
    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;

        width: 280px;
        background: var(--nav-background-mobile);
        max-width: 85vw;
        height: 100vh;
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: var(--space-3xl) var(--space-lg) var(--space-lg);
        gap: 0;
        transition: right var(--transition-normal);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: var(--space-md) var(--space-sm);
        border-radius: var(--radius-md);
        font-size: 1.125rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.05);
        transform: translateX(8px);
    }
    
    /* Overlay when menu is open */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-normal);
    }
    
    .nav-overlay.active {
        opacity: 1;
        pointer-events: all;
    }
    
    .section {
        padding: var(--space-2xl) 0;
    }
    
    .section-header {
        margin-bottom: var(--space-2xl);
    }
    
    .hero {
        min-height: 90vh;
        text-align: center;
    }
    
    .hero-inner {
        padding: 0 var(--space-md);
    }
    
    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-subline {
        font-size: 1.125rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        margin-top: var(--space-xl);
    }
    
    .service-card {
        padding: var(--space-xl);
    }
    
    .articles-slider-container {
        margin: 0 50px;
    }
    
    .article-link {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .slider-nav {
        width: 45px;
        height: 45px;
    }
    
    .slider-nav svg {
        width: 18px;
        height: 18px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .about-content {
        padding-right: 0;
    }
    
    .about-features {
        justify-content: center;
        gap: var(--space-xl);
    }
    
    .feature-number {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
    
    .footer-links {
        gap: var(--space-md);
    }
}

@media (max-width: 670px) {    
    .article-link {
        flex: 0 0 100%;
    }
}

/* Extra small screens (480px and down) */
@media (max-width: 480px) {
    .hero-headline {
        font-size: clamp(1.75rem, 10vw, 2.5rem);
    }
    
    .hero-subline {
        font-size: 1rem;
    }
    
    .about-features {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .service-card {
        padding: var(--space-lg);
    }
    
    .articles-slider-container {
        margin: 0 40px;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .slider-nav svg {
        width: 16px;
        height: 16px;
    }
    
    .article-content {
        padding: var(--space-lg);
    }
    
    .article-title {
        font-size: 1.25rem;
    }
    
    .cta-btn {
        padding: var(--space-sm) var(--space-xl);
        font-size: 1rem;
    }
}

/* ==============================================
   ACCESSIBILITY & PRINT STYLES
   ============================================== */

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow-sm: none;
        --shadow-md: none;
        --shadow-lg: none;
        --shadow-xl: none;
        --shadow-2xl: none;
    }
    
    .service-card,
    .image-wrapper {
        border: 2px solid var(--text-primary);
    }
}

/* Print styles */
@media print {
    .nav,
    .scroll-indicator,
    .cta-background,
    .cta-overlay {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        page-break-after: always;
    }
    
    .section {
        padding: var(--space-lg) 0;
    }
    
    .service-card,
    .about-image-container,
    .footer {
        box-shadow: none !important;
    }
}

/* Focus styles for accessibility */
.cta-btn:focus,
.footer-link:focus,
.logo:focus {
    outline: 2px solid var(--accent-light);
    outline-offset: 2px;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Utility classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* ==============================================
   INTRO-PAGE STYLES
   ============================================== */

/* Static fonts for intro.html only - specific to intro page elements */
body#intro {
    background: linear-gradient(135deg, #20123b 6%, #46287b 33%, #20123b 57%, #5f34a1 76%, #20123b 98%, #ffd166 99%);
}

.intro-container,
.intro-container * {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

.intro-container h1,
.intro-container h2,
.intro-container h3,
.intro-container h4,
.intro-container h5,
.intro-container h6,
.intro-title {
    font-family: 'Sansation', 'Inter', sans-serif !important;
    color: #FFD166;
    text-align: center;
}
.intro-container h2,
.intro-container h3 {
    margin-top: 0rem;
}
.intro-container h2.reservation-title {
    margin-top: 8rem;
}
.intro-container h2 {
    font-size: 2rem;
}
.session-check {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1F3E72;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-size: 18px;
}

.intro-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.hero-section {
    text-align: center;
}
.intro-badge {
    background: linear-gradient(135deg, #a855f7, #eab308);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.intro-badge,
.intro-subtitle,
.value-item,
.package-price,
.package-name,
.cta-button  {
    text-align: center;
}


@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.intro-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #FFD166;
    margin-bottom: 20px;
    line-height: 1.2;
}

.intro-subtitle {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 40px;
    font-weight: 300;
}
.value-props {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    background: #1B1235;
    padding: 40px;
    border-radius: 20px;
    margin: 80px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.value-props h3 {
    font-size: 1.5rem;
    margin: 20px 0;
}

.value-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.value-item {
    display: flex;
    padding: 15px;
    background: #efe3f9;
    text-align: left;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.value-icon {
    width: 40px;
    height: 40px;
    background: #2AA4F4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-weight: bold;
}
.entwurf-subtitle {
    text-align: center;
}
.entwurf-section .entwurf-link {
    background: linear-gradient(135deg, #efe3f9, #ffffff, #efe3f9);
    color: #ffffff;
    width: 100%;
    height: 260px;
    font-size: 10rem;
    text-align: center;
    display: block;
    font-weight: 900;
    text-shadow: 0px 2px 35px #ccc2d3;
    box-shadow: 0px 2px 60px #efe3f9;
    border-radius: 20px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}
.entwurf-section .entwurf-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    text-shadow: 0px -2px 35px #b7acbf;
    font-size: 10.5rem;
}

.packages-section {
    margin: 90px 0;
}

.packages-title {
    font-size: 2.5rem;
    color: #1F3E72;
    margin-bottom: 4rem;
    font-weight: 700;
}
.packages-subtitle {
    text-align: center;
}
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.package-card {
    position: relative;
    background: #33264F;
    background-image: linear-gradient(45deg, #ffd166 17%, transparent 17%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    color: #fff;
    transition: all 0.3s ease;
}

.package-card.featured {
    border-color: #FFB800;
    border: 1px solid #FFB800;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 184, 0, 0.2);
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.package-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFB800;
    color: #1F3E72;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.package-price {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}
.package-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #efe3f9;
    text-shadow: 0px 0px 10px #ffd166;
    margin-bottom: 20px;
}
.package-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.package-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.package-features li:before {
    content: "✔";
    color: #27ae60;
    font-weight: bold;
    margin-right: 10px;
}
.package-features li:before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    margin-right: 10px;
}
.note {
    padding: 2rem 0 0 0;
    font-size: .8rem;
    color: #ffffff;
    margin-top: 20px;
    text-align: center;
}

.cta-button {
    background: linear-gradient(135deg, #a855f7, #eab308);
    color: #20123b;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(31, 62, 114, 0.3);
    color: #20123b;
}

.trust-indicators {
    border-radius: 20px;
    margin: 40px 0;
}
.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.trust-stat {
    text-align: center;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 20px;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #44c39b;
}

.trust-label {
    color: #666;
    font-size: 1rem;
}

.guarantee {
    background: #342650;
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    text-align: center;
    border: 5px solid #fff;
}

.guarantee h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #71f6a9;
}
ul.footer-nav a {
    color: #fff;
}
ul.footer-nav a:hover {
    border-bottom: 1px solid #ffd166;
}

ul.footer-nav li {
    display: inline;
    padding: 3rem 1rem;
}
ul.footer-nav {
    padding: 3rem;
    text-align: center;
}


@media (max-width: 768px) {
    .intro-title {
        font-size: 2.5rem;
    }
    .package-card.featured {
        transform: none;
    }
}