/* ========================================================
   KANZLEI ROTA - Modern Professional Law Firm Website
   ======================================================== */

/* Root Variables & Custom Properties */
:root {
    /* Brand Colors - ONLY THESE */
    --primary-color: #212E42;
    --secondary-color: #B09F78;
    --accent-color: #D7D2BE;
    --light-color: #F7F7F7;
    
    /* Additional Colors */
    --white: #FFFFFF;
    --black: #000000;
    --gray-dark: #333333;
    --gray-medium: #666666;
    --gray-light: #999999;
    --gray-lighter: #E5E5E5;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ========== RESET & BASE STYLES ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--light-color);
    overflow-x: hidden;
    padding-top: 90px; /* Daraltılmış header için optimum boşluk */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
    color: var(--gray-medium);
}

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

a:hover {
    color: var(--primary-color);
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Section */
.section {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.875rem 2rem;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(176, 159, 120, 0.3);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.btn-primary::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.5s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(176, 159, 120, 0.4);
    background-color: #9A866A;
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--secondary-color);
    transition: width var(--transition-normal);
    z-index: -1;
}

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

.btn-secondary:hover::before {
    width: 100%;
}

/* ========== LOADING SCREEN ========== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.loading-spinner {
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* ========== HEADER & NAVIGATION - FIXED MENÜ ========== */
header {
    background: #212E42;
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
}

.navbar {
    
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    height: 90px;
    opacity: 0;
    transform: translateX(-200px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    visibility: hidden;
}

.header.show-logo .logo img {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}

.nav-menu {
    display: flex;
    flex: 1;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
    align-items: center;
}

.nav-link {
    color: #F7F7F7;
    text-decoration: none;
    padding: 10px 16px;
    font-weight: 500;
    position: relative;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    letter-spacing: 0.3px;
    font-size: 0.95rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(176, 159, 120, 0.15), rgba(176, 159, 120, 0.25));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #B09F78, transparent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #B09F78;
    background-color: rgba(176, 159, 120, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(176, 159, 120, 0.2);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: #B09F78;
    background-color: rgba(176, 159, 120, 0.15);
}

.nav-link.active::after {
    width: 80%;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-current {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.25rem 0.75rem;
    background-color: transparent;
    border: 1px solid rgba(176, 159, 120, 0.3);
    border-radius: var(--radius-md);
    color: var(--light-color);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.language-current:hover {
    border-color: var(--secondary-color);
    background-color: rgba(176, 159, 120, 0.1);
}

.flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-xs);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: 100;
}

.language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.5rem 1rem;
    background: none;
    border: none;
    width: 100%;
    cursor: pointer;
    color: var(--gray-dark);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.language-option:hover {
    background-color: var(--light-color);
    color: var(--secondary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--light-color);
    transition: all var(--transition-normal);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-gradient-elegant {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        #2A3A52 25%, 
        var(--primary-color) 50%, 
        #1A2435 75%, 
        var(--primary-color) 100%
    );
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.05) 35px, rgba(255,255,255,.05) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,.03) 35px, rgba(255,255,255,.03) 70px);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at top,
        transparent 0%,
        rgba(33, 46, 66, 0.4) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    transform: translateY(-30px);
}

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

.hero-logo-container {
    position: relative;
    margin-bottom: var(--spacing-xl);
}

.hero-logo {
    width: 825px;
    height: auto;
    margin: 0 auto;
}

.rudder-container {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-rudder {
    width: 80px;
    height: 80px;
    animation: spin 10s linear infinite;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.hero-rudder:hover {
    transform: scale(1.1);
    animation-play-state: paused;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    color: var(--white);
    letter-spacing: 2px;
}

.hero-slogan {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 300;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
    font-style: italic;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: var(--spacing-xl);
    color: var(--accent-color);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-bottom-rudder {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.bottom-rudder {
    width: 60px;
    height: 60px;
    animation: spin 8s linear infinite;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.bottom-rudder:hover {
    transform: scale(1.1);
    animation-play-state: paused;
}

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

@keyframes wheel {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* ========== ABOUT SECTION ========== */
.about-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 200px;
    background: var(--white);
    transform: skewY(-3deg);
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    position: relative;
    z-index: 2;
}

.section-title {
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

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

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-text h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

@media (max-width: 768px) {
    .about-features {
        grid-template-columns: 1fr;
    }
}

.about-feature {
    text-align: center;
    padding: var(--spacing-lg);
}

.about-feature i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    display: block;
}

.about-feature h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
}

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

.about-image img {
    width: 100%;
    height: auto;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
    padding: var(--spacing-xl);
    background-color: var(--light-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .about-stats {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
}

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

/* ========== SERVICES SECTION ========== */
.services-section {
    background-color: var(--light-color);
    position: relative;
    padding: calc(var(--spacing-xxl) * 1.5) 0;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color) 0%, transparent 100%);
    opacity: 0.05;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background-color: var(--white);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-lighter);
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

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

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    color: var(--primary-color);
    transform: scale(1.1);
}

.service-title {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.service-description {
    color: var(--gray-medium);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.service-link {
    color: var(--secondary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all var(--transition-fast);
}

.service-link:hover {
    gap: var(--spacing-sm);
    color: var(--primary-color);
}

/* ========== TEAM SECTION ========== */
.team-section {
    background-color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.team-member {
    text-align: center;
    position: relative;
}

.member-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.member-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all var(--transition-normal);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(33, 46, 66, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-normal);
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-social {
    display: flex;
    gap: var(--spacing-md);
}

.member-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.member-social a:hover {
    background-color: var(--white);
    color: var(--secondary-color);
    transform: scale(1.1);
}

.member-name {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.member-position {
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xs);
}

.member-experience {
    color: var(--gray-medium);
    font-size: 0.875rem;
}

/* ========== PARTNERS SECTION ========== */
.partners-section {
    background-color: var(--light-color);
    overflow: hidden;
}

.partners-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.partners-slider {
    display: flex;
    animation: slide 30s linear infinite;
}

.partner-item {
    flex: 0 0 200px;
    padding: 0 var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-item img {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
    transition: all var(--transition-normal);
}

.partner-item:hover img {
    transform: scale(1.1);
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-color) 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 50%;
    background: var(--accent-color);
    opacity: 0.03;
    transform: skewY(-5deg) translateY(50%);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--spacing-xxl);
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    font-size: 1.125rem;
}

.contact-details p,
.contact-details a {
    color: var(--gray-medium);
}

.contact-details a:hover {
    color: var(--secondary-color);
}

.opening-hours {
    margin-top: var(--spacing-sm);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--gray-lighter);
}

.hours-row:last-child {
    border-bottom: none;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-medium);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form-container {
    background-color: var(--white);
    padding: var(--spacing-xxl);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-lighter);
}

.contact-form h3 {
    margin-bottom: var(--spacing-xl);
    color: var(--primary-color);
    text-align: center;
    font-size: 1.75rem;
    position: relative;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.form-group {
    position: relative;
    margin-bottom: var(--spacing-xl);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.25rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--gray-lighter);
    border-radius: var(--radius-md);
    background-color: var(--light-color);
    transition: all var(--transition-normal);
    font-family: inherit;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(176, 159, 120, 0.1);
}

.form-group label {
    position: absolute;
    top: 1.25rem;
    left: 1rem;
    font-size: 1rem;
    color: var(--gray-medium);
    pointer-events: none;
    transition: all var(--transition-normal);
    background-color: transparent;
    padding: 0 0.25rem;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.875rem;
    color: var(--secondary-color);
    background-color: var(--white);
}

.checkbox-group {
    margin-bottom: var(--spacing-xl);
    background-color: transparent;
    padding: var(--spacing-md) 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--gray-medium);
    line-height: 1.5;
    background-color: var(--white);
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    min-height: 60px;
}

.checkbox-label input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    appearance: checkbox !important;
    width: 18px !important;
    height: 18px !important;
    margin-top: 0.2rem;
    cursor: pointer !important;
    flex-shrink: 0;
    position: relative;
    z-index: 999;
    pointer-events: auto !important;
    background: white !important;
    border: 1px solid #ccc !important;
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: #007bff !important;
    border-color: #007bff !important;
}

.checkbox-label span {
    flex: 1;
    margin-top: 2px;
}

.checkbox-label a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
    pointer-events: auto;
}

.checkbox-label a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: var(--spacing-lg);
    clear: both;
    cursor: pointer;
    pointer-events: auto;
    position: static;
    z-index: auto;
}

/* ========== MAP SECTION ========== */
.map-section {
    height: 450px;
    position: relative;
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========== FOOTER ========== */
.footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--secondary-color) 50%, transparent 100%);
}

.footer-top {
    padding: var(--spacing-xl) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.footer-logo {
    width: 150px;
    margin-bottom: var(--spacing-md);
}

.footer-column p {
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--accent-color);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: var(--spacing-xs);
}

.footer-bottom {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--accent-color);
    margin: 0;
}

/* ========== FLOATING ELEMENTS ========== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 75px;
    height: 75px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 50%),
        linear-gradient(135deg, #25D366 0%, #1ebe5a 25%, #128C7E 60%, #0a6b5d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 0 0 rgba(37, 211, 102, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.15),
        0 16px 32px rgba(37, 211, 102, 0.3),
        0 24px 48px rgba(37, 211, 102, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.5),
        inset 0 -1px 2px rgba(0, 0, 0, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 999;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    animation: whatsappRealisticPulse 4s infinite ease-in-out;
    cursor: pointer;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.6) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
    border-radius: 50%;
    transform: rotate(0deg) scale(1);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0.7;
    mix-blend-mode: overlay;
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    top: 15%;
    left: 15%;
    width: 25%;
    height: 25%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    border-radius: 50%;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0.9;
    filter: blur(1px);
}

.whatsapp-float img {
    width: 42px;
    height: 42px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    filter: 
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3))
        drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2))
        brightness(1.05)
        contrast(1.1)
        saturate(1.1);
    z-index: 3;
    position: relative;
    transform: translateZ(10px);
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-12px) rotateX(5deg) rotateY(5deg);
    box-shadow: 
        0 0 0 8px rgba(37, 211, 102, 0.15),
        0 0 0 16px rgba(37, 211, 102, 0.1),
        0 0 0 24px rgba(37, 211, 102, 0.05),
        0 4px 8px rgba(0, 0, 0, 0.1),
        0 12px 24px rgba(0, 0, 0, 0.15),
        0 20px 40px rgba(37, 211, 102, 0.4),
        0 32px 64px rgba(37, 211, 102, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.6),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.15);
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.5) 0%, transparent 50%),
        linear-gradient(135deg, #2EE86C 0%, #25D366 30%, #1ebe5a 70%, #128C7E 100%);
    animation-play-state: paused;
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(25px) saturate(200%);
}

.whatsapp-float:hover::before {
    opacity: 1;
    transform: rotate(15deg) scale(1.1);
    mix-blend-mode: soft-light;
}

.whatsapp-float:hover::after {
    transform: scale(1.2);
    opacity: 1;
    filter: blur(0.5px);
}

.whatsapp-float:hover img {
    transform: translateZ(20px) scale(1.1) rotate(3deg);
    filter: 
        drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4))
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3))
        brightness(1.15)
        contrast(1.2)
        saturate(1.2);
}

.whatsapp-float:active {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 
        0 0 0 10px rgba(37, 211, 102, 0.2),
        0 8px 25px rgba(37, 211, 102, 0.5),
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.1s ease;
}

@keyframes whatsappRealisticPulse {
    0% {
        box-shadow: 
            0 0 0 0 rgba(37, 211, 102, 0.8),
            0 2px 4px rgba(0, 0, 0, 0.1),
            0 8px 16px rgba(0, 0, 0, 0.15),
            0 16px 32px rgba(37, 211, 102, 0.3),
            0 24px 48px rgba(37, 211, 102, 0.15),
            inset 0 1px 2px rgba(255, 255, 255, 0.5),
            inset 0 -1px 2px rgba(0, 0, 0, 0.2),
            inset 0 0 20px rgba(255, 255, 255, 0.1);
        transform: scale(1) rotateZ(0deg);
    }
    25% {
        transform: scale(1.02) rotateZ(0.5deg);
    }
    50% {
        box-shadow: 
            0 0 0 4px rgba(37, 211, 102, 0.2),
            0 0 0 8px rgba(37, 211, 102, 0.1),
            0 3px 6px rgba(0, 0, 0, 0.12),
            0 10px 20px rgba(0, 0, 0, 0.18),
            0 20px 40px rgba(37, 211, 102, 0.4),
            0 30px 60px rgba(37, 211, 102, 0.2),
            inset 0 2px 3px rgba(255, 255, 255, 0.6),
            inset 0 -2px 3px rgba(0, 0, 0, 0.25),
            inset 0 0 25px rgba(255, 255, 255, 0.15);
        transform: scale(1.03) rotateZ(-0.5deg);
    }
    75% {
        transform: scale(1.01) rotateZ(0.3deg);
    }
    100% {
        box-shadow: 
            0 0 0 0 rgba(37, 211, 102, 0.8),
            0 2px 4px rgba(0, 0, 0, 0.1),
            0 8px 16px rgba(0, 0, 0, 0.15),
            0 16px 32px rgba(37, 211, 102, 0.3),
            0 24px 48px rgba(37, 211, 102, 0.15),
            inset 0 1px 2px rgba(255, 255, 255, 0.5),
            inset 0 -1px 2px rgba(0, 0, 0, 0.2),
            inset 0 0 20px rgba(255, 255, 255, 0.1);
        transform: scale(1) rotateZ(0deg);
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 90px;
    top: 50%;
    transform: translateY(-50%) translateX(30px) perspective(1000px) rotateY(10deg);
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, 
            var(--primary-color) 0%, 
            #1A2435 30%,
            #2A3A52 60%, 
            var(--primary-color) 100%);
    color: var(--white);
    padding: 1.2rem 1.8rem;
    border-radius: 18px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.15),
        0 16px 32px rgba(0, 0, 0, 0.2),
        0 24px 48px rgba(33, 46, 66, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3),
        inset 0 -1px 2px rgba(0, 0, 0, 0.4),
        inset 0 0 30px rgba(176, 159, 120, 0.1);
    backdrop-filter: blur(25px) saturate(150%);
    border: 2px solid rgba(176, 159, 120, 0.4);
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.6),
        0 0 8px rgba(176, 159, 120, 0.3);
    z-index: 1000;
    overflow: hidden;
    transform-style: preserve-3d;
}

.whatsapp-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid var(--primary-color);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    filter: drop-shadow(2px 0 4px rgba(0, 0, 0, 0.2));
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(176, 159, 120, 0.1) 50%, 
        transparent 70%);
    transform: rotate(-45deg) translateX(-100%);
    transition: all 0.6s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0) perspective(1000px) rotateY(0deg) rotateX(2deg);
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.12),
        0 12px 24px rgba(0, 0, 0, 0.18),
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 32px 64px rgba(33, 46, 66, 0.4),
        inset 0 2px 3px rgba(255, 255, 255, 0.4),
        inset 0 -2px 3px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(176, 159, 120, 0.15);
    border-color: rgba(176, 159, 120, 0.6);
    backdrop-filter: blur(30px) saturate(180%);
}

.whatsapp-float:hover .whatsapp-tooltip::after {
    transform: rotate(-45deg) translateX(150%);
    opacity: 0.8;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 45px;
    height: 45px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-lg);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
    z-index: 9999;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-content p {
    color: var(--light-color);
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: var(--spacing-md);
}

/* ========== ANIMATIONS ========== */
[data-aos] {
    transition-property: transform, opacity;
}

[data-aos][data-aos][data-aos-duration="1500"] {
    transition-duration: 1500ms;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar-content {
        flex-wrap: wrap;
        position: relative;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #212E42;
        padding: 20px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.25);
        flex: none;
        justify-content: flex-start;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-link {
        display: block;
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-logo {
        width: 600px;
    }
    
    .hero-rudder {
        width: 60px;
        height: 60px;
    }
    
    .bottom-rudder {
        width: 50px;
        height: 50px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 1rem;
        right: 1rem;
    }
    
    .whatsapp-float img {
        width: 30px;
        height: 30px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 1rem;
        left: 1rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .whatsapp-float,
    .back-to-top,
    .cookie-banner,
    .hero-video,
    .scroll-indicator {
        display: none !important;
    }
    
    .hero {
        height: auto;
        padding: var(--spacing-xl) 0;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

/* Add spacing between label and time in opening hours */
.hours-row span:first-child {
    margin-right: 0.5rem;
}
