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

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --highlight-color: #e94560;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --bg-dark: #0f0f1e;
    --bg-light: #1a1a2e;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s ease;
}

/* Light mode variables */
:root[data-theme="light"] {
    --primary-color: #f5f5f5;
    --secondary-color: #e8e8e8;
    --accent-color: #d0d0d0;
    --highlight-color: #e94560;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a4a;
    --bg-dark: #ffffff;
    --bg-light: #f8f8f8;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

:root[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Toggle */
.theme-toggle {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 36px;
    cursor: pointer;
}

.theme-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #87CEEB 0%, #B0C4DE 100%);
    border-radius: 36px;
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.theme-slider:before {
    position: absolute;
    content: "";
    height: 28px;
    width: 28px;
    left: 4px;
    bottom: 4px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    transition: var(--transition);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-icon svg {
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.theme-icon:first-child {
    left: 8px;
    opacity: 1;
}

.theme-icon:last-child {
    right: 8px;
    opacity: 0;
}

.theme-toggle input:checked + .theme-slider {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
}

.theme-toggle input:checked + .theme-slider:before {
    transform: translateX(34px);
    background: linear-gradient(135deg, #E6E6FA 0%, #D3D3D3 100%);
}

.theme-toggle input:checked + .theme-slider .theme-icon:first-child {
    opacity: 0;
}

.theme-toggle input:checked + .theme-slider .theme-icon:last-child {
    opacity: 1;
}

:root[data-theme="light"] .theme-slider {
    background: linear-gradient(135deg, #87CEEB 0%, #B0C4DE 100%);
}

:root[data-theme="light"] .theme-slider:before {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    font-size: 1.8rem;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--highlight-color);
    transition: var(--transition);
}

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

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.8) 50%, rgba(15, 52, 96, 0.8) 100%),
                url('images/IMG_2378.jpeg') center/cover no-repeat;
    overflow: hidden;
}


.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(233, 69, 96, 0.1) 0%, transparent 70%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #b8b8b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 4px 20px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    display: inline-block;
}

:root[data-theme="light"] .hero-subtitle {
    color: #1a1a2e;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8), 0 4px 20px rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--text-primary);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

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

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

:root[data-theme="light"] .btn-secondary {
    border-color: #1a1a2e;
    border-width: 3px;
    color: #1a1a2e;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(26, 26, 46, 0.1);
    font-weight: 600;
}

:root[data-theme="light"] .btn-secondary:hover {
    background: #1a1a2e;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(26, 26, 46, 0.3);
}

.btn-full {
    width: 100%;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* Services Section */
.services {
    background: var(--bg-light);
}

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

.service-card {
    background: var(--bg-dark);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

:root[data-theme="light"] .service-card {
    border-color: rgba(0, 0, 0, 0.1);
}

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

.service-card.featured {
    border: 2px solid var(--highlight-color);
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(233, 69, 96, 0.05) 100%);
}

.service-card-blue {
    border: 2px solid #4A90E2;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(74, 144, 226, 0.05) 100%);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2), 0 0 40px rgba(74, 144, 226, 0.1);
}

.service-card-blue:hover {
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.3), 0 0 60px rgba(74, 144, 226, 0.2);
    border-color: #4A90E2;
}

:root[data-theme="light"] .service-card-blue {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.15) 0%, rgba(74, 144, 226, 0.08) 100%);
}

:root[data-theme="light"] .service-card.featured {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.15) 0%, rgba(233, 69, 96, 0.08) 100%);
}

.service-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--highlight-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.service-badge-blue {
    background: #4A90E2;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-bottom: 3px solid var(--highlight-color);
    padding-bottom: 0.75rem;
    display: inline-block;
    width: 100%;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--highlight-color);
    font-weight: bold;
}

.service-features {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.service-btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
    display: inline-block;
    padding: 1rem 2rem;
}

/* About Section */
.about {
    background: var(--bg-dark);
}

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

.about-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
    display: block;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.about-image {
    position: relative;
}

.about-video {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: block;
}

.about-video:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.image-placeholder {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.image-placeholder span {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.image-placeholder p {
    color: var(--text-secondary);
}

/* Before/After Slider Section */
.before-after {
    background: var(--bg-dark);
}

.slider-container {
    max-width: 1000px;
    margin: 0 auto;
}

.before-after-slider {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.slider-item {
    width: 100%;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.slider-wrapper:active {
    cursor: grabbing;
}

.slider-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-image {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-light);
    pointer-events: none;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.after-image {
    left: 0;
    top: 0;
    z-index: 1;
}

.before-image {
    left: 0;
    top: 0;
    z-index: 2;
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.05s ease-out;
}

.image-label {
    position: absolute;
    top: 20px;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    z-index: 20;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.before-label {
    left: 20px;
    background: rgba(233, 69, 96, 0.9);
    color: var(--text-primary);
}

.after-label {
    right: 20px;
    background: rgba(102, 126, 234, 0.9);
    color: var(--text-primary);
}

.image-placeholder-content {
    text-align: center;
    color: var(--text-primary);
    padding: 2rem;
}

.image-placeholder-content span {
    font-size: 5rem;
    display: block;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.image-placeholder-content p {
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--text-primary);
    cursor: ew-resize;
    z-index: 30;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.slider-line {
    width: 100%;
    height: 100%;
    background: var(--text-primary);
    position: relative;
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    color: var(--bg-dark);
    transition: var(--transition);
}

.slider-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

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

.slider-description {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Gallery Section */
.gallery {
    background: var(--bg-light);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

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

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    z-index: 10000;
    max-width: 80%;
    max-height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 3rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    line-height: 1;
    padding: 0;
}

.lightbox-close:hover {
    color: var(--highlight-color);
    transform: rotate(90deg);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Contact Section */
.contact {
    background: var(--bg-dark);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-form {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

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

/* Footer */
.footer {
    background: var(--bg-light);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.social-links a:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

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

@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 scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .nav-controls {
        gap: 0.75rem;
    }

    .theme-toggle {
        width: 55px;
        height: 28px;
    }

    .theme-slider:before {
        height: 20px;
        width: 20px;
    }

    .theme-toggle input:checked + .theme-slider:before {
        transform: translateX(27px);
    }

    .theme-icon {
        font-size: 11px;
    }

    .theme-icon:first-child {
        left: 6px;
    }

    .theme-icon:last-child {
        right: 6px;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .hero-title {
        font-size: 2.5rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

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

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-content {
        max-width: 90%;
        max-height: 90%;
    }

    .lightbox-close {
        top: -40px;
        font-size: 2.5rem;
    }

    .slider-wrapper {
        aspect-ratio: 4/3;
    }

    .image-placeholder-content span {
        font-size: 3.5rem;
    }

    .image-placeholder-content p {
        font-size: 1rem;
    }

    .slider-button {
        width: 40px;
        height: 40px;
    }

    .slider-button svg {
        width: 16px;
        height: 16px;
    }

    .image-label {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .before-label {
        left: 10px;
    }

    .after-label {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .btn {
        width: 100%;
    }

    .slider-wrapper {
        aspect-ratio: 3/2;
    }

    .image-placeholder-content span {
        font-size: 3rem;
    }

    .image-placeholder-content p {
        font-size: 0.9rem;
    }

    .slider-button {
        width: 35px;
        height: 35px;
    }

    .slider-button svg {
        width: 14px;
        height: 14px;
    }

    .slider-description {
        font-size: 0.85rem;
    }
}

/* Ceramic Page Styles */
.ceramic-hero {
    position: relative;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    text-align: center;
}

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

.ceramic-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #b8b8b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ceramic-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.ceramic-video-benefits {
    background: var(--bg-dark);
    padding: 3.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.video-benefits-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.video-benefits-left,
.video-benefits-right {
    display: flex;
    flex-direction: column;
}

.video-benefits-left .section-header,
.video-benefits-right .section-header {
    margin-bottom: 1.25rem;
}

.video-benefits-left .video-description {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.ppf-images-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ppf-image-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
}

.ppf-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ppf-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.benefits-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.benefits-grid-compact .benefit-card {
    padding: 0.75rem 1rem;
}

.benefits-grid-compact .benefit-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
}

.benefits-grid-compact .benefit-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.benefits-grid-compact .benefit-card p {
    font-size: 0.8rem;
    line-height: 1.4;
}

.benefits-connection-text {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.ceramic-video-section {
    background: var(--bg-dark);
    padding: 5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.video-content-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.video-text {
    max-width: none;
}

.video-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-top: 1.5rem;
}

.video-container {
    max-width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.ceramic-video {
    width: 100%;
    height: auto;
    display: block;
    max-width: 500px;
}


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

.benefit-card {
    background: var(--bg-dark);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.benefit-card.has-image {
    padding: 0;
}

.benefit-card.has-image > * {
    padding: 1rem 1.25rem;
}

.benefit-card.has-image .benefit-image {
    margin: 0;
    border-radius: 12px 12px 0 0;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--highlight-color);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.75rem;
    color: var(--highlight-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(233, 69, 96, 0.1);
    border-radius: 8px;
    padding: 8px;
}

.benefit-icon svg {
    width: 20px;
    height: 20px;
}

.benefit-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

.benefit-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1rem;
    background: var(--bg-light);
}

.benefit-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.benefit-card:hover .benefit-img {
    transform: scale(1.05);
}

.benefits-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-dark);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefits-cta p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-note p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.ceramic-pricing {
    background: var(--bg-dark);
    padding: 5rem 0 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: visible;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
    padding-top: 20px;
}

.pricing-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: visible;
    box-sizing: border-box;
}

.pricing-features,
.pricing-features li {
    overflow: visible !important;
}

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

.pricing-card.featured {
    border: 2px solid var(--highlight-color);
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(233, 69, 96, 0.05) 100%);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--highlight-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.pricing-image {
    width: calc(100% + 5rem);
    height: 200px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    margin: -2.5rem -2.5rem 1.5rem -2.5rem;
    background: var(--bg-dark);
    position: relative;
    box-sizing: border-box;
    flex-shrink: 0;
}

.pricing-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-features {
    list-style: disc;
    flex-grow: 1;
    padding-left: 1.5rem;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s ease 0.15s, 
                margin-bottom 0.4s ease 0.15s,
                padding-top 0.6s ease,
                padding-bottom 0.6s ease;
}

/* Pokud má pricing-card tlačítko toggle, skryj features defaultně */
.pricing-card:has(.pricing-toggle) .pricing-features {
    max-height: 0 !important;
    opacity: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

/* Pokud NEMÁ pricing-card tlačítko toggle, zobraz features vždy */
.pricing-card:not(:has(.pricing-toggle)) .pricing-features {
    max-height: 2000px !important;
    opacity: 1 !important;
    margin-bottom: 2rem !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
    visibility: visible !important;
}

/* Když je card aktivní, zobraz features */
.pricing-card.active .pricing-features {
    max-height: 2000px !important;
    opacity: 1 !important;
    margin-bottom: 2rem !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    overflow: visible !important;
    visibility: visible !important;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1.5rem;
    margin: 0 auto 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.pricing-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--highlight-color);
    color: var(--highlight-color);
}

.pricing-toggle:active {
    transform: scale(0.98);
}

.toggle-arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.pricing-card.active .toggle-arrow {
    transform: rotate(180deg);
}

.pricing-card.active .toggle-text::after {
    content: ' (skrýt)';
    opacity: 0.7;
    font-size: 0.85em;
}

.pricing-features li {
    padding: 0.75rem 0;
    padding-left: 0.5rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: var(--transition);
    list-style: disc;
    margin-left: 0;
}

.pricing-features li::before {
    display: none;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.feature-item {
    position: relative;
    cursor: help;
}

.feature-item:hover {
    color: var(--text-primary);
}

.feature-item::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 0;
    bottom: calc(100% + 12px);
    padding: 0.75rem 1rem;
    background: rgba(15, 15, 30, 0.98);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.85rem;
    line-height: 1.5;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    z-index: 10000;
    width: max-content;
    max-width: 280px;
    min-width: 200px;
    text-align: left;
    font-weight: 400;
    word-wrap: break-word;
    display: block;
}

:root[data-theme="light"] .feature-item::after {
    background: rgba(15, 15, 30, 0.95);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    bottom: calc(100% + 6px);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    z-index: 10001;
}

.feature-item:hover::after,
.feature-item.tooltip-active::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.feature-item:hover::before,
.feature-item.tooltip-active::before {
    opacity: 1;
    visibility: visible;
}

.ceramic-process {
    background: var(--bg-light);
    padding: 5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.process-step {
    text-align: center;
    padding: 2rem;
    background: var(--bg-dark);
    border-radius: 15px;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow);
}

.process-step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.ceramic-cta {
    background: var(--bg-dark);
    padding: 5rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Responsive for Ceramic Page */
@media (max-width: 768px) {
    .ceramic-title {
        font-size: 2.5rem;
    }

    .ceramic-subtitle {
        font-size: 1.1rem;
    }

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

    .video-container {
        max-width: 100%;
    }

    .ceramic-video {
        max-width: 100%;
    }

    .video-benefits-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ppf-images-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .benefits-grid-compact {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .benefits-grid,
    .pricing-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .ceramic-title {
        font-size: 2rem;
    }

    .price-amount {
        font-size: 2rem;
    }

    .feature-item::after {
        max-width: 200px;
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }
}

