/* ==========================================================================
   MODERN LAW FIRM CSS - Δικηγορικό Γραφείο - PROFESSIONAL VERSION
   ========================================================================== */

/* CSS Variables - Professional Design System */
:root {
    /* Primary Colors - Professional Blue/Gold Theme */
    --primary-color: #FFFFFF;
    --primary-light: #FFFFFF;
    --primary-dark: #FFFFFF;
    
    /* Secondary Colors */
    --secondary-color: #FFFFFF;
    --accent-color: #FFFFFF;
    
    /* Text Colors */
    --text-primary: #C19A6B;
    --text-secondary: #C19A6B;
    --text-light: #C19A6B;
    
    /* Background Colors */
    --background: #FFFFFF;
    --background-alt: #FFFFFF;
    --surface: #FFFFFF;
    --surface-elevated: #FFFFFF;
    
    /* Borders & Shadows */
    --border: #E2E8F0;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-elevated: rgba(0, 0, 0, 0.15);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FFFFFF 0%, #FFFFFF 100%);
    --gradient-secondary: linear-gradient(135deg, #FFFFFF 0%, #FFFFFF 100%);
    --gradient-hero: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Fonts */
    --font-primary: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Border Radius */
    --border-radius: 12px;
    --border-radius-large: 20px;
    
    /* Transitions */
    --transition-fast: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-base: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    scroll-snap-type: y proximity;
}

body {
    font-family: var(--font-primary);
}

/* Enhanced smooth scrolling */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
    
    * {
        scroll-behavior: smooth;
    }
}

/* Enhanced scroll snap */
.hero, 
.services, 
.about, 
.contact {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

/* ==========================================================================
   LAYOUT COMPONENTS
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-2xl) 0;
}

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 230, 211, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition-base);
    width: 100%;
    box-sizing: border-box;
}

.header.scrolled {
    box-shadow: 0 4px 20px var(--shadow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-md); 
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Original header styles for backward compatibility */
header {
    background: rgba(245, 230, 211, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    border-radius: var(--border-radius-large);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
}

.logo {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C19A6B;
    font-weight: bold;
}

.tagline {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-top: 10px;
}

/* Navigation */
.nav {
    display: flex;
    gap: 4px;
    align-items: center;
    height: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: var(--font-size-xl);
    cursor: pointer;
}

/* Navigation Links with hover effects */
.nav-link, .nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 12px 14px;
    border-radius: 6px;
    overflow: visible;
    line-height: 1.2;
    display: inline-block;
    min-height: 40px;
    box-sizing: border-box;
    white-space: nowrap;
    font-size: 0.9rem;
    cursor: pointer;
    margin: 0 1px;
    text-align: center;
}

.nav-link::before, .nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    transition: background 0.3s ease;
    pointer-events: none;
}

.nav-link:hover::before, .nav a:hover::before {
    background: rgba(255, 255, 255, 0.05);
}

.nav-link:hover, .nav a:hover {
    color: #C19A6B;
    transform: translateY(-1px);
}

.nav-link::after, .nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FFFFFF, #FFFFFF);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after,
.nav a:hover::after,
.nav a.active::after {
    width: 70%;
}

/* Active navigation state */
.nav-link.active, .nav a.active {
    color: #C19A6B;
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.active::after {
    width: 70%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 40px; 
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/office.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: -1;
    opacity: 0.1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    min-height: 90vh;
}

.hero-text {
    color: #C19A6B;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
    font-weight: 300;
}

.hero-description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    opacity: 0.8;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-image {
    width: 400px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-large);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    border-radius: var(--border-radius-large);
    z-index: -1;
}

/* Floating Animation Elements - Final Version */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.pulse-circle {
    opacity: 0.4 !important;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

/* Enhanced parallax effect */
.parallax-element {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* ==========================================================================
   SERVICES SECTION - LEGAL SERVICES
   ========================================================================== */

.services {
    background: var(--background);
}

.services-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.services-title {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.services-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Service Tabs - Legal Practice Areas */
.services-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    gap: var(--spacing-md);
    flex-wrap: wrap;
    padding: var(--spacing-sm) 0;
}

.service-tab {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--border-radius);
    padding: var(--spacing-md) var(--spacing-lg);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 500;
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    min-width: 120px;
    text-align: center;
    user-select: none;
}

/* Hover effect for background */
.service-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: inherit;
    pointer-events: none;
}

.service-tab:hover:not(.active)::before {
    opacity: 1;
}

.service-tab::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease-out;
    pointer-events: none;
    opacity: 0;
    z-index: 1;
}

.service-tab:active::after {
    width: 150px;
    height: 150px;
    opacity: 1;
    transition: all 0.2s ease-out;
}

.service-tab.active::after {
    width: 80px;
    height: 80px;
    opacity: 0.4;
    background: rgba(255, 255, 255, 0.5);
}



.service-tab.active {
    background: var(--gradient-primary);
    color: #C19A6B;
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.service-tab:hover:not(.active) {
    border-color: #FFFFFF;
    color: #C19A6B;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.service-tab.active:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.service-tab:active {
    transform: translateY(-1px) scale(0.98);
    transition-duration: 0.1s;
}

/* Services Grid - STABLE VERSION */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    min-height: 450px;
    position: relative;
    align-items: start;
    grid-auto-rows: minmax(400px, auto);
    opacity: 1;
}

/* ==========================================================================
   SERVICE CARDS - LEGAL SERVICES
   ========================================================================== */

/* STEP 1: Clean initial state */
.service-card {
    background: var(--surface);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    position: relative;
    min-height: 400px;
    transition: all 0.3s ease;
    
    /* Εμφάνιση όλων των καρτών */
    display: block;
    opacity: 1;
    visibility: visible;
}

/* STEP 2: Only corporate law cards visible initially */
.service-card[data-category="corporate"] {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* STEP 3: JavaScript controlled classes */
.service-card.js-show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.service-card.js-hide {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* STEP 4: Disable conflicting animations */
.service-card.observe-fade,
.service-card.animate-slide-bottom,
.service-card.section-transition {
    animation: none !important;
    opacity: inherit !important;
    transform: none !important;
}



/* Service Card Content */
.service-card-image {
    height: 0px; display: none;
    background: linear-gradient(135deg, #FFFFFF, #FFFFFF);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C19A6B;
    font-size: var(--font-size-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover .service-card-image {
    background: linear-gradient(135deg, #FFFFFF, #FFFFFF);
}

.service-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/><circle cx="20" cy="20" r="1" fill="white" opacity="0.1"/><circle cx="80" cy="30" r="1.5" fill="white" opacity="0.1"/></svg>');
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.service-card-content {
    padding: var(--spacing-md) var(--spacing-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-card:hover .service-card-title {
    color: #C19A6B;
}

.service-card-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    flex-grow: 1;
}

.service-card-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.service-card-features li {
    padding: var(--spacing-xs) 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: color 0.3s ease;
}

.service-card:hover .service-card-features li {
    color: var(--text-primary);
}



.service-card-price {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: var(--spacing-md);
    transition: all 0.3s ease;
}

.service-card:hover .service-card-price {
    color: #C19A6B;
    transform: scale(1.05);
}



/* ==========================================================================
   ENHANCED SLIDE ANIMATION FOR SERVICE TABS
   ========================================================================== */

/* Slide animation classes */
.services-grid.slide-out-left {
    animation: slideOutLeft 0.4s ease-in-out;
}

.services-grid.slide-out-right {
    animation: slideOutRight 0.4s ease-in-out;
}

.services-grid.slide-in-left {
    animation: slideInLeft 0.5s ease-in-out;
}

.services-grid.slide-in-right {
    animation: slideInRight 0.5s ease-in-out;
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

/* ==========================================================================
   ABOUT SECTION - RESPONSIVE DESIGN
   ========================================================================== */

.about {
    background: var(--background-alt);
    /* Ίδιο padding με hero για συνέπεια */
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 40px;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    min-height: 90vh;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.about-content {
    background: var(--surface);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-large);
    box-shadow: 0 4px 20px var(--shadow);
}

.about-image {
    background: var(--surface);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-large);
    box-shadow: 0 4px 20px var(--shadow);
    text-align: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #FFFFFF, #FFFFFF);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    border: 2px dashed var(--border);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact {
    background: var(--background);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.contact-info {
    background: var(--surface);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-large);
    box-shadow: 0 4px 20px var(--shadow);
}

.contact-form {
    background: var(--surface);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-large);
    box-shadow: 0 4px 20px var(--shadow);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C19A6B;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    margin: 0 0 var(--spacing-xs) 0;
    color: var(--text-primary);
    font-size: var(--font-size-lg);
}

.contact-details p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-details a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* ==========================================================================
   FORM STYLES
   ========================================================================== */

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label, .form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input, .form-group textarea, .form-group select, .form-input {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--border);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    background: var(--surface);
    color: var(--text-primary);
    font-family: var(--font-primary);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus, .form-input:focus {
    outline: none;
    border-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-input.valid {
    border-color: #C19A6B;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.5.55L7.5 1.55l-.5-.55z'/%3e%3cpath fill='%2328a745' d='M.5 3.5l.5.5L3 2l-.5-.5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-input.invalid {
    border-color: #C19A6B;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-lg);
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 20px;
}

.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);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #C19A6B;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #C19A6B;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn:disabled {
    background: #FFFFFF !important;
    cursor: not-allowed !important;
    transform: none !important;
    opacity: 0.6;
}

.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    color: #C19A6B;
}

/* ==========================================================================
   NOTIFICATIONS
   ========================================================================== */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--surface);
    color: var(--text-primary);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px var(--shadow-elevated);
    display: none;
    z-index: 1000;
    animation: slideIn 0.3s ease;
    max-width: 400px;
    border-left: 4px solid #FFFFFF;
}

.notification.success {
    background: #FFFFFF;
    color: #C19A6B;
    border-left: none;
}

.notification.error {
    background: #FFFFFF;
    color: #C19A6B;
    border-left: none;
}

.notification.info {
    background: #FFFFFF;
    color: #C19A6B;
    border-left: none;
}

.notification.show {
    display: block;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   LOADING STATES
   ========================================================================== */

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #FFFFFF;
    border-top: 2px solid #FFFFFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay {
    position: relative;
}

.loading-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    z-index: 10;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #FFFFFF;
    border-top: 2px solid #FFFFFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ==========================================================================
   ANIMATIONS & INTERACTIONS
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Intersection Observer Animations - EXCLUDING SERVICE CARDS */
.observe-fade:not(.service-card) {
    transition: all 0.6s ease-out;
    opacity: 0;
    transform: translateY(30px);
}

.observe-fade:not(.service-card).visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scroll animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation classes - EXCLUDING SERVICE CARDS */
.animate-slide-left:not(.service-card) {
    animation: slideInFromLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-right:not(.service-card) {
    animation: slideInFromRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-bottom:not(.service-card) {
    animation: slideInFromBottom 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-zoom:not(.service-card) {
    animation: zoomIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Staggered animations */
.animate-stagger-1 { animation-delay: 0.1s; }
.animate-stagger-2 { animation-delay: 0.2s; }
.animate-stagger-3 { animation-delay: 0.3s; }
.animate-stagger-4 { animation-delay: 0.4s; }
.animate-stagger-5 { animation-delay: 0.5s; }

/* Section transition effects - EXCLUDING SERVICE CARDS */
.section-transition:not(.service-card) {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-transition:not(.service-card).visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #FFFFFF, #FFFFFF);
    z-index: 1001;
    transition: width 0.3s ease;
}

/* Focus States */
.btn:focus-visible,
.form-input:focus-visible,
.service-tab:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
}

.service-card:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 2px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1279px) {
    .header-content {
        padding: var(--spacing-sm) var(--spacing-sm);
    }
    
    .nav-link {
        font-size: 0.875rem;
        padding: 6px 12px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.875rem;
    }
}

/* Large Screens (Desktop) */
@media (min-width: 1440px) {
    .hero-content,
    .about-container {
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: clamp(3rem, 6vw, 5rem);
    }
    
    .about h2 {
        font-size: clamp(2.5rem, 4vw, 4rem);
    }
}

/* Medium-Large Screens (Laptop) */
@media (min-width: 1024px) and (max-width: 1439px) {
    .hero-content,
    .about-container {
        padding: 0 2rem;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1023px) {
    .hero-content,
    .about-container {
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .hero-image {
        width: 350px;
        height: 400px;
    }
    
    .about-content,
    .about-image {
        padding: 1.5rem;
    }
    
    .image-placeholder {
        height: 350px;
    }
}

@media (max-width: 1023px) {
    .hidden.lg\\:flex {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .services-tabs {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }

    .service-tab {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 8px 12px;        
        font-size: 0.8rem;        
        font-weight: 500;         
    }

    .service-tab:hover:not(.active) {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
    }

    .services-grid {
        grid-template-columns: 1fr;
        min-height: 350px;
        gap: var(--spacing-md);
    }
    
    .service-card {
        min-height: 350px;
    }

    .service-card.js-show:hover,
    .service-card[data-category="corporate"]:hover {
        transform: translateY(-4px) scale(1.01);
        box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-image {
        width: 300px;
        height: 350px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .header-content {
        padding: var(--spacing-sm) var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .services-grid {
        min-height: 300px;
    }
    
    .service-card {
        min-height: 300px;
    }

    .service-card-image {
        height: 0px; display: none;
    }

    .service-card-content {
        height: calc(100% - 150px);
        padding: var(--spacing-md);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-image {
        width: 250px;
        height: 300px;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .floating-element {
        display: none;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-center {
    text-align: center;
}

.text-primary {
    color: #FFFFFF;
}

.text-secondary {
    color: var(--text-secondary);
}

.bg-primary {
    background: #FFFFFF;
}

.bg-gradient {
    background: var(--gradient-primary);
}

.shadow {
    box-shadow: 0 4px 20px var(--shadow);
}

.shadow-elevated {
    box-shadow: 0 8px 30px var(--shadow-elevated);
}

.border-radius {
    border-radius: var(--border-radius);
}

.border-radius-large {
    border-radius: var(--border-radius-large);
}

.transition {
    transition: all var(--transition-base);
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   ACCESSIBILITY IMPROVEMENTS
   ========================================================================== */

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .service-tab,
    .service-card {
        transition: none !important;
        animation: none !important;
    }

    .service-tab:hover,
    .service-card:hover {
        transform: none !important;
    }

    .floating-element {
        animation: none !important;
    }

    html {
        scroll-behavior: auto;
    }

    * {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-tab {
        border-width: 3px;
    }
    
    .service-tab.active {
        border-color: currentColor;
        background: #FFFFFF;
    }
    
    .service-card {
        border: 2px solid var(--text-primary);
    }

    .hero-image {
        border: 2px solid rgba(255, 255, 255, 0.5);
    }
}

/* ==========================================================================
   DARK MODE SUPPORT
   ========================================================================== */

@media (prefers-color-scheme: dark) {
    :root {
        --background: #FFFFFF;
        --background-alt: #FFFFFF;
        --surface: #FFFFFF;
        --surface-elevated: #3a3a3a;
        --text-primary: #ffffff;
        --text-secondary: #b0b0b0;
        --text-light: #888888;
        --border: #404040;
        --shadow: rgba(0, 0, 0, 0.3);
        --shadow-elevated: rgba(0, 0, 0, 0.5);
    }


    .header, header {
        background: rgba(42, 42, 42, 0.95);
    }

    .contact-info, .contact-form, .about-content, .about-image {
        background: rgba(42, 42, 42, 0.95);
    }

    .image-placeholder {
        background: linear-gradient(135deg, #FFFFFF, #FFFFFF);
        color: var(--text-secondary);
        border-color: var(--border);
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .header, header {
        position: static !important;
        box-shadow: none !important;
        background: white !important;
    }

    .hero {
        min-height: auto !important;
        padding: 2rem 0 !important;
    }

    .hero-background, .hero-overlay {
        display: none !important;
    }

    .hero-text {
        color: black !important;
    }

    .services-tabs {
        display: none !important;
    }
    
    .service-card {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        border: 1px solid #000 !important;
        break-inside: avoid;
        margin-bottom: 1rem !important;
    }

    .floating-elements {
        display: none !important;
    }

    .btn {
        border: 1px solid #000 !important;
        background: white !important;
        color: black !important;
    }
}

/* ==========================================================================
   CONTACT SECTION FIX
   ========================================================================== */

/* Force contact section to be visible */
#contact {
    padding-top: 120px !important;
    scroll-margin-top: 100px;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Ensure all contact content is visible */
#contact * {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Fix for contact form and content */
#contact .max-w-7xl,
#contact .grid,
#contact .service-card,
#send-message {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: none !important;
}

/* Remove problematic animations from contact section */
#contact.animate-on-scroll,
#contact .animate-on-scroll {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Override any JavaScript hiding */
#contact.js-hide,
#contact .js-hide {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure contact cards are visible */
#contact .service-card {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Fix contact form specifically */
.contact-form,
#contact-form,
#send-message {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ==========================================================================
   CONTACT CARDS - SMALLER & MORE DISCRETE
   ========================================================================== */

.contact-cards-grid {
    max-width: 600px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
    align-items: start !important;
}

.contact-cards-grid .service-card {
    padding: 1.5rem !important;
    min-height: auto !important;
    transform: scale(0.85) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

.contact-cards-grid .w-16 {
    width: 3rem !important;
    height: 3rem !important;
    margin-bottom: 1rem !important;
}

.contact-cards-grid svg {
    width: 1.25rem !important;
    height: 1.25rem !important;
}

.contact-cards-grid h3 {
    font-size: 1.1rem !important;
    margin-bottom: 0.75rem !important;
}

.contact-cards-grid p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
}



/* Contact cards responsive */
@media (max-width: 1024px) {
    .contact-cards-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .contact-cards-grid {
        max-width: 500px !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }
    
    .contact-cards-grid .service-card {
        transform: scale(0.8) !important;
        padding: 1.25rem !important;
    }
    
    .contact-cards-grid .service-card h3 {
        font-size: 1rem !important;
    }
    
    .contact-cards-grid .w-16 {
        width: 3rem !important;
        height: 3rem !important;
    }
}

@media (max-width: 480px) {
    .contact-cards-grid {
        max-width: 400px !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem !important;
    }
    
    .contact-cards-grid .service-card {
        transform: scale(0.75) !important;
        padding: 1rem !important;
        font-size: 0.85rem !important;
    }
    
    .contact-cards-grid .service-card h3 {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .contact-cards-grid p {
        font-size: 0.8rem !important;
    }
}

/* Μείωση padding για about section */
#about {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

#contact {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}


/* ==========================================================================
   END OF MODERN LAW FIRM CSS
   ========================================================================== */

















  































/* ==========================================================================
   MODAL STYLES - ΔΙΟΡΘΩΜΕΝΗ ΕΚΔΟΣΗ ΜΕ SCROLLBAR
   ========================================================================== */

/* Enhanced Modal Styling */
#contact-modal {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ΚΡΙΣΙΜΗ ΔΙΟΡΘΩΣΗ: Modal Container με σωστό scrollbar */
#contact-modal .bg-white {
    background: linear-gradient(145deg, #ffffff 0%, #FFFFFF 100%);
    border-radius: 24px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    max-width: 600px;
    max-height: 90vh;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* ΚΡΙΣΙΜΟ: Ενεργοποίηση scrollbar */
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Modal Content Wrapper - ΝΕΟ */
.modal-content-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
}

/* Modal Header Enhancement */
#contact-modal h3 {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

#contact-modal h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #FFFFFF, #FFFFFF);
    border-radius: 2px;
}

/* Close Button Enhancement */
#close-modal {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#close-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

#close-modal:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

#close-modal:hover::before {
    opacity: 1;
}

#close-modal svg {
    position: relative;
    z-index: 2;
    color: #C19A6B;
    transition: color 0.3s ease;
}

#close-modal:hover svg {
    color: #C19A6B;
}

/* Form Enhancement */
#modal-contact-form {
    padding: 0;
}

#modal-contact-form .grid {
    gap: 1.5rem;
}

/* Enhanced Form Fields */
#modal-contact-form input,
#modal-contact-form textarea {
    background: rgba(249, 250, 251, 0.8);
    border: 2px solid rgba(229, 231, 235, 0.6);
    border-radius: 16px;
    padding: 16px 20px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    backdrop-filter: blur(5px);
}

#modal-contact-form input:focus,
#modal-contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.95);
    border-color: #FFFFFF;
    box-shadow: 
        0 0 0 4px rgba(255, 255, 255, 0.1),
        0 8px 25px rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Enhanced Labels */
#modal-contact-form label {
    font-weight: 600;
    color: #C19A6B;
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Character Counters Enhancement */
#modal-contact-form .text-xs {
    color: #C19A6B;
    font-weight: 500;
    margin-top: 4px;
}

/* Enhanced Submit Button */
#modal-contact-form button[type="submit"] {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFFFFF 100%);
    border: none;
    border-radius: 20px;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #C19A6B;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

#modal-contact-form button[type="submit"]::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 0.6s ease;
}

#modal-contact-form button[type="submit"]:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.4);
}

#modal-contact-form button[type="submit"]:hover::before {
    left: 100%;
}

#modal-contact-form button[type="submit"]:active {
    transform: translateY(-1px) scale(0.98);
}

/* Enhanced Messages - ΔΙΟΡΘΩΜΕΝΑ */
#modal-success-message,
#modal-error-message {
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: none; /* ΚΡΙΣΙΜΟ: Κρυμμένα από την αρχή */
    align-items: center;
    font-weight: 600;
    animation: slideInDown 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Όταν εμφανίζονται */
#modal-success-message.show,
#modal-error-message.show {
    display: flex;
}

#modal-success-message {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #C19A6B;
}

#modal-error-message {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #C19A6B;
}

#modal-success-message svg,
#modal-error-message svg {
    margin-right: 12px;
    flex-shrink: 0;
}

/* Enhanced Scrollbar για Modal */
#contact-modal .bg-white::-webkit-scrollbar {
    width: 8px;
}

#contact-modal .bg-white::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

#contact-modal .bg-white::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FFFFFF, #FFFFFF);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}

#contact-modal .bg-white::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #FFFFFF, #FFFFFF);
    background-clip: content-box;
}

/* Firefox scrollbar */
#contact-modal .bg-white {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.7) rgba(0, 0, 0, 0.05);
}

/* Enhanced Modal Animation */
#contact-modal.show {
    animation: modalFadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#contact-modal.show .bg-white {
    animation: modalSlideIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Field Focus Effects */
#modal-contact-form .space-y-2 {
    position: relative;
}

#modal-contact-form input:focus + .text-xs,
#modal-contact-form textarea:focus + .flex .text-xs {
    color: #FFFFFF;
    font-weight: 600;
}

/* Enhanced Placeholder Styling */
#modal-contact-form input::placeholder,
#modal-contact-form textarea::placeholder {
    color: #C19A6B;
    font-style: italic;
    transition: color 0.3s ease;
}

#modal-contact-form input:focus::placeholder,
#modal-contact-form textarea:focus::placeholder {
    color: rgba(156, 163, 175, 0.5);
}

/* Loading State Enhancement */
#modal-contact-form button[type="submit"].loading {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7));
    cursor: not-allowed;
    transform: none !important;
}

#modal-contact-form button[type="submit"].loading::before {
    display: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #contact-modal .bg-white {
        margin: 20px;
        max-height: 95vh;
        border-radius: 20px;
    }
    
    .modal-content-wrapper {
        padding: 32px 24px;
    }
    
    #contact-modal h3 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    #modal-contact-form .grid {
        gap: 1.25rem;
    }
    
    #modal-contact-form input,
    #modal-contact-form textarea {
        padding: 14px 18px;
        border-radius: 14px;
    }
    
    #modal-contact-form button[type="submit"] {
        padding: 14px 32px;
        font-size: 1rem;
        border-radius: 18px;
    }
}

@media (max-width: 480px) {
    #contact-modal .bg-white {
        margin: 10px;
        max-height: 98vh;
        border-radius: 18px;
    }
    
    .modal-content-wrapper {
        padding: 24px 20px;
    }
    
    #contact-modal h3 {
        font-size: 1.5rem;
    }
}




















/* Animation για το όνομα στο navigation */
nav span.text-white.text-xl.font-bold {
    opacity: 0;
    transform: translateX(-100px) translateY(-20px);
    animation: slideInName 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

@keyframes slideInName {
    0% {
        opacity: 0;
        transform: translateX(-100px) translateY(-20px);
    }
    70% {
        opacity: 0.8;
        transform: translateX(10px) translateY(-5px);
    }
    85% {
        opacity: 0.95;
        transform: translateX(-5px) translateY(2px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}






























/* Navigation Links with enhanced active states */
.nav-link, .nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    padding: 12px 18px;
    border-radius: 8px;
    overflow: visible;
    line-height: 1.2;
    display: inline-block;
    min-height: 44px;
    box-sizing: border-box;
    white-space: nowrap;
    font-size: 0.95rem;
    cursor: pointer;
    margin: 0 2px;
    text-align: center;
    backdrop-filter: blur(5px);
}

/* Background glow effect */
.nav-link::before, .nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: inherit;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    box-shadow: inset 0 0 0 1px transparent;
}

/* Hover effects */
.nav-link:hover::before, .nav a:hover::before {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 
        inset 0 0 0 1px rgba(255, 255, 255, 0.2),
        0 4px 15px rgba(255, 255, 255, 0.1);
}

.nav-link:hover, .nav a:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

/* Golden underline */
.nav-link::after, .nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFFFFF, #FFFFFF, #FFFFFF);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
}

/* Active and hover underline states */
.nav-link:hover::after,
.nav-link.active::after,
.nav a:hover::after,
.nav a.active::after {
    width: 80%;
}

/* Enhanced Active navigation state */
.nav-link.active, .nav a.active {
    color: #C19A6B;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.nav-link.active::before, .nav a.active::before {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 
        inset 0 0 0 1px rgba(255, 255, 255, 0.3),
        0 4px 20px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 255, 255, 0.1);
}

.nav-link.active::after, .nav a.active::after {
    width: 85%;
    height: 4px;
    background: linear-gradient(90deg, #FFFFFF, #FFFFFF, #FFFFFF, #FFFFFF, #FFFFFF);
    box-shadow: 
        0 2px 12px rgba(255, 255, 255, 0.6),
        0 0 20px rgba(255, 255, 255, 0.3);
    animation: activeGlow 2s ease-in-out infinite alternate;
}

/* Active glow animation */
@keyframes activeGlow {
    from {
        box-shadow: 
            0 2px 12px rgba(255, 255, 255, 0.6),
            0 0 20px rgba(255, 255, 255, 0.3);
    }
    to {
        box-shadow: 
            0 2px 16px rgba(255, 255, 255, 0.8),
            0 0 25px rgba(255, 255, 255, 0.4);
    }
}

































/* ==========================================================================
   LAWYER PHOTO STYLING - HERO SECTION (CIRCULAR)
   ========================================================================== */

.lawyer-photo-container {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #FFFFFF;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 8px rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: linear-gradient(135deg, #FFFFFF, #FFFFFF);
    padding: 3px;
}

.lawyer-photo-container:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 12px rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
}

.lawyer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.lawyer-photo-container:hover .lawyer-photo {
    transform: scale(1.08);
}

/* Subtle glow effect */
.lawyer-photo-container::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, #FFFFFF, #FFFFFF, #FFFFFF, #FFFFFF);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lawyer-photo-container:hover::before {
    opacity: 0.6;
    animation: subtleGlow 3s ease-in-out infinite;
}

@keyframes subtleGlow {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.02);
    }
}

/* Responsive adjustments */
@media (max-width: 1280px) {
    .lawyer-photo-container {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 1024px) {
    .lawyer-photo-container {
        width: 250px;
        height: 250px;
    }
}

/* Professional shadow enhancement */
.lawyer-photo-container {
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 16px 35px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.lawyer-photo-container:hover {
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.2),
        0 20px 45px rgba(0, 0, 0, 0.15),
        0 0 0 8px rgba(255, 255, 255, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}






























/* FIX ΓΙΑ SERVICE CARDS - RESPONSIVE TITLES */
.service-card-title {
    font-size: clamp(1rem, 2.5vw, 1.25rem) !important;
    line-height: 1.3 !important;
    min-height: auto !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
}

.service-card-content {
    padding: 1.25rem !important;
    min-height: 280px !important;
}

.service-card-description {
    font-size: clamp(0.875rem, 1.8vw, 1rem) !important;
    line-height: 1.5 !important;
}

.service-card-features li {
    font-size: clamp(0.8rem, 1.6vw, 0.9rem) !important;
    line-height: 1.4 !important;
}

/* Για μικρότερες οθόνες και zoom */
@media (max-width: 1400px) {
    .service-card-title {
        font-size: 1.1rem !important;
    }
    
    .service-card-content {
        padding: 1rem !important;
    }
}

@media (max-width: 1200px) {
    .service-card-title {
        font-size: 1rem !important;
    }
}












/* FORCE TITLES TO BE VISIBLE */
.service-card-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #C19A6B !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    line-height: 1.4 !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
}

.service-card-content h3 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}





























/* ==========================================================================
   BULLET POINTS & HOVER - ΤΕΛΙΚΗ ΕΚΔΟΣΗ
   ========================================================================== */

/* Bullet Points */
.service-card-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 1rem 0 !important;
}

.service-card-features li {
    display: block !important;
    padding: 0.5rem 0 !important;
    padding-left: 2rem !important;
    position: relative !important;
    color: #C19A6B !important;
    line-height: 1.6 !important;
    transition: color 0.3s ease !important;
}

.service-card-features li::before {
    content: '⚖️' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0.5rem !important;
    font-size: 1em !important;
    display: inline-block !important;
    width: 1.5rem !important;
    transition: transform 0.3s ease !important;
}

/* Hover States για bullets */
.service-card:hover .service-card-features li {
    color: #C19A6B !important;
}

.service-card:hover .service-card-features li::before {
    transform: scale(1.2) !important;
}

/* Card Hover Animation - ΕΠΑΝΑΦΟΡΑ */
.service-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.25) !important;
    z-index: 10 !important;
    cursor: pointer !important;
}

.service-card:hover .service-card-image {
    background: linear-gradient(135deg, #FFFFFF, #FFFFFF) !important;
}

.service-card:hover .service-card-title {
    color: #C19A6B !important;
}
/* Custom Brown Colors */
.text-\[#C19A6B\] {
    color: #C19A6B !important;
}

.hover\:text-\[#C19A6B\]:hover {
    color: #C19A6B !important;
}
/* Custom Brown Classes */
.text-\[#C19A6B\] {
    color: #C19A6B !important;
}
.hover\:text-\[#C19A6B\]:hover {
    color: #C19A6B !important;
}
/* Custom Brown Classes */
.text-\[#C19A6B\] {
    color: #C19A6B !important;
}
.hover\:text-\[#C19A6B\]:hover {
    color: #C19A6B !important;
}
.focus\:border-\[#C19A6B\]:focus {
    border-color: #C19A6B !important;
}

/* Custom Background για "Γιατί να μας επιλέξετε" κουτί */
.bg-\[#F5E6D3\] {
    background-color: #F5E6D3 !important;
}

/* Glass Effect για Navigation με μπεζ background */
.glass-effect {
    background: rgba(245, 230, 211, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(194, 154, 107, 0.2) !important;
}

/* Enhanced Text Shadow για καλύτερη αναγνωσιμότητα στο Hero Section */
.hero h1,
.hero-title,
.hero p,
.hero-subtitle,
.hero-description,
.hero .text-4xl,
.hero .text-5xl,
.hero .text-6xl,
.hero .text-7xl,
.hero .text-lg,
.hero .text-xl,
.hero .text-3xl {
    text-shadow: 
        3px 3px 8px rgba(0, 0, 0, 0.8),
        2px 2px 6px rgba(0, 0, 0, 0.7),
        1px 1px 4px rgba(0, 0, 0, 0.6),
        0 0 15px rgba(255, 255, 255, 0.8) !important;
}

/* Extra shadow για τα buttons */
.hero button,
.hero a {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Ειδική σκιά για το button - ελαφρύτερη γιατί έχει λευκό background */
.hero button#open-modal-hero {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Πολύ έντονη σκιά για το description paragraph */
.hero p.text-lg,
.hero p.text-xl {
    text-shadow: 
        4px 4px 10px rgba(0, 0, 0, 0.9),
        3px 3px 8px rgba(0, 0, 0, 0.8),
        2px 2px 6px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(255, 255, 255, 0.9) !important;
    font-weight: 500 !important;
}

/* Πολύ έντονη σκιά για τα stats (Εμπιστοσύνη Πελατών, 10+, Καθημερινή) */
.hero .text-3xl,
.hero .text-sm {
    text-shadow: 
        4px 4px 10px rgba(0, 0, 0, 0.9),
        3px 3px 8px rgba(0, 0, 0, 0.8),
        2px 2px 6px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(255, 255, 255, 0.9) !important;
    font-weight: 600 !important;
}

/* Text για το "Γιατί να μας επιλέξετε" κουτί - ΛΕΥΚΑ ΓΡΑΜΜΑΤΑ */
.about .text-4xl.font-bold,
.about .text-xl.leading-relaxed {
    color: #FFFFFF !important;
    text-shadow: 
        4px 4px 12px rgba(0, 0, 0, 0.9),
        3px 3px 10px rgba(0, 0, 0, 0.8),
        2px 2px 8px rgba(0, 0, 0, 0.7),
        1px 1px 6px rgba(0, 0, 0, 0.6) !important;
    font-weight: 700 !important;
}

/* ========================================
   ENHANCED MOBILE RESPONSIVENESS
   ======================================== */

/* Mobile Hero Section - Βελτιωμένο για κινητά */
@media (max-width: 768px) {
    /* Hero title - μικρότερο για να χωράει */
    .hero h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Hero paragraph - πιο compact */
    .hero p.text-lg,
    .hero p.text-xl {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Stats grid - σε 1 στήλη για πολύ μικρές οθόνες */
    .hero .grid-cols-3 {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .hero .text-3xl {
        font-size: 1.5rem !important;
    }
    
    .hero .text-sm {
        font-size: 0.75rem !important;
    }
    
    /* Buttons - πλήρες πλάτος */
    .hero .flex-col {
        width: 100%;
    }
    
    .hero button,
    .hero a.border-2 {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Extra small mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem !important;
    }
    
    /* Navigation logo */
    .header-content .w-12 {
        width: 2.5rem !important;
        height: 2.5rem !important;
    }
    
    .header-content .text-xl {
        font-size: 1rem !important;
    }
}

/* Landscape mobile - οριζόντια οθόνη */
@media (max-width: 900px) and (max-height: 500px) {
    .hero {
        min-height: auto !important;
        padding: 2rem 0 !important;
    }
    
    .hero h1 {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }
}
/* ==========================================================================
   EMAIL FIX FOR MOBILE - Contact Card
   ========================================================================== */

/* Σπάσιμο του email σε μικρές οθόνες */
#contact .service-card p {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
}

#contact .service-card p a,
#contact .service-card p .__cf_email__ {
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
    display: inline-block !important;
    max-width: 100% !important;
}

/* Mobile specific - extra small screens */
@media (max-width: 640px) {
    #contact .service-card {
        padding: 1.5rem !important;
    }
    
    #contact .service-card p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
    
    #contact .service-card p a,
    #contact .service-card p .__cf_email__ {
        font-size: 0.85rem !important;
        word-break: break-all !important;
    }
}

/* Very small screens */
@media (max-width: 380px) {
    #contact .service-card p a,
    #contact .service-card p .__cf_email__ {
        font-size: 0.75rem !important;
    }
}
/* HERO SECTION - FORCE REDUCED PADDING */
.hero.pt-24,
section#home.hero {
    padding-top: 20px !important;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .hero.pt-24,
    section#home.hero {
        padding-top: 60px !important;
    }
}



/* Απόκρυψη video controls */
video::-webkit-media-controls {
    display: none !important;
}

video::-webkit-media-controls-enclosure {
    display: none !important;
}

video::-webkit-media-controls-panel {
    display: none !important;
}

video::-moz-media-controls {
    display: none !important;
}

video::-ms-media-controls {
    display: none !important;
}

/* Απενεργοποίηση pointer events για το video */
nav video,
footer video {
    pointer-events: none !important;
}



/* Διαφάνεια για το logo video */
nav video,
footer video {
    mix-blend-mode: multiply;
    background: transparent;
}


/* ΟΛΟΙ ΟΙ BUTTONS - ΜΠΕΖ BACKGROUND */

/* Hero buttons */
#open-modal-hero,
.hero button,
/* "ΥΠΗΡΕΣΙΕΣ ΜΑΣ" link */
.hero a.border-2,
/* "ΣΥΝΕΡΓΑΣΤΕΙΤΕ ΜΑΖΙ ΜΑΣ" */
#open-modal-about,
/* "ΑΠΟΣΤΟΛΗ ΜΗΝΥΜΑΤΟΣ" */
#send-message-btn,
button[type="submit"],
.gold-gradient {
    background: #F5E6D3 !important;
    color: #C19A6B !important;
    border-color: #C19A6B !important;
}

/* Hover effect */
#open-modal-hero:hover,
.hero button:hover,
.hero a.border-2:hover,
#open-modal-about:hover,
#send-message-btn:hover,
button[type="submit"]:hover,
.gold-gradient:hover {
    background: #E5D6C3 !important;
}

/* ΥΠΗΡΕΣΙΕΣ ΜΑΣ BUTTON - ΜΠΕΖ ΧΩΡΙΣ BORDER ΚΑΙ SHADOW */

.hero a[href="#services"] {
    background: #F5E6D3 !important;
    color: #C19A6B !important;
    border: none !important;
    box-shadow: none !important;
}

.hero a[href="#services"]:hover {
    background: #E5D6C3 !important;
    box-shadow: none !important;
}