/* Custom styles beyond Tailwind */
:root {
    --primary: #2d3e50;        /* Tumši zili pelēks */
    --primary-light: #4a6572;  /* Gaišāks pelēkzils */
    --secondary: #8a9ba8;      /* Pelēkzils */
    --accent: #c0a98b;         /* Smilšu krāsa (akcents) */
    --light: #f5f7fa;          /* Ļoti gaiši pelēks */
    --dark: #1a2632;           /* Tumši pelēks */
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --text-light: #ffffff;
    --text-dark: #1e1e1e;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-100);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    line-height: 1.2;
}

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

/* Smooth gradient backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary) 100%);
}

.gradient-bg-light {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Animation classes */
.animate-fade-in-up {
    animation: fadeInUp 1s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 1.5s ease forwards;
}

.animate-slide-left {
    animation: slideInLeft 1s ease forwards;
}

.animate-slide-right {
    animation: slideInRight 1s ease forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-scale {
    animation: scaleIn 0.8s ease forwards;
}

/* Image hover effects */
.image-hover-zoom {
    overflow: hidden;
}

.image-hover-zoom img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.image-hover-zoom:hover img {
    transform: scale(1.05);
}

.image-hover-overlay {
    position: relative;
    overflow: hidden;
}

.image-hover-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-hover-overlay:hover::after {
    opacity: 1;
}

/* Card styles */
.card {
    background: var(--text-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

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

.card-dark {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(45, 62, 80, 0.2);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 62, 80, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
}

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

.btn-light:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

/* Section styles */
section {
    position: relative;
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    display: inline-block;
    position: relative;
    margin-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent);
}

.section-title.light h2 {
    color: var(--text-light);
}

.section-title.light h2::after {
    background: var(--text-light);
}

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

/* Header styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

/* Hero ar split bildēm - STABILS VISĀM IERĪCĒM */
.hero-split {
    position: relative;
    min-height: 100vh;
    color: var(--text-light);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Bildes konteineris */
.hero-split .flex.flex-col.md\:flex-row {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .hero-split .flex.flex-col.md\:flex-row {
        flex-direction: row;
    }
}

/* Katras bildes konteineris */
.hero-split .w-full.md\:w-1\/2 {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-split .w-full.md\:w-1\/2 {
        width: 50%;
        height: 100%;
    }
}

/* Bildes stili */
.hero-split img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    will-change: transform;
}

.hero-split .overflow-hidden:hover img {
    transform: scale(1.05);
}

/* Gradientu klases */
.hero-split .bg-gradient-to-t {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}

.hero-split .bg-gradient-to-b {
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}

@media (min-width: 768px) {
    .hero-split .md\:bg-gradient-to-r {
        background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    }
    
    .hero-split .md\:bg-gradient-to-l {
        background: linear-gradient(to left, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    }
}

/* Sadalījuma līnija */
.hero-split .h-px {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
}

@media (min-width: 768px) {
    .hero-split .md\:w-px {
        width: 1px;
        height: 100%;
        background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.8), transparent);
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }
}

/* Pirms/Pēc uzraksti uz bildēm */
.hero-split .absolute.top-4 {
    z-index: 25;
}

.hero-split .top-4.left-4 span,
.hero-split .top-4.right-4 span {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-split .top-4.right-4 span {
    background: var(--accent);
    color: var(--text-dark);
}

/* Teksta konteiners */
.hero-split .relative.z-30 {
    position: relative;
    z-index: 30;
    width: 100%;
    margin-top: auto;
    margin-bottom: auto;
    padding: 4rem 1rem;
}

@media (min-width: 768px) {
    .hero-split .relative.z-30 {
        padding: 2rem;
    }
}

/* Teksta stili */
.hero-split h1 {
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 300;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-split h1 span {
    font-weight: 600;
    color: var(--accent);
    font-size: clamp(1.5rem, 4vw, 3rem);
    display: block;
    margin-top: 0.5rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.hero-split p {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    opacity: 0.95;
}

/* Mobile specifiskie labojumi */
@media (max-width: 767px) {
    .hero-split {
        min-height: 100vh;
    }
    
    .hero-split .relative.z-30 {
        background: transparent; /* Noņem melno gradientu */
        padding-top: 5rem;
        padding-bottom: 5rem;
        text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* Tikai ēna tekstam, lai paliek salasāms */
    }
    
    .hero-split h1 {
        font-size: 2rem;
    }
    
    .hero-split h1 span {
        font-size: 1.6rem;
    }
    
    .hero-split p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .hero-split .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-split .flex.flex-col.sm\:flex-row {
        gap: 12px;
    }
    
    /* Pirms/Pēc badges mobile */
    .hero-split .top-4.left-4 span,
    .hero-split .top-4.right-4 span {
        padding: 4px 12px;
        font-size: 0.7rem;
    }
}

/* Mazie telefoni */
@media (max-width: 380px) {
    .hero-split .w-full.md\:w-1\/2 {
        height: 45vh;
    }
    
    .hero-split h1 {
        font-size: 1.8rem;
    }
    
    .hero-split h1 span {
        font-size: 1.4rem;
    }
    
    .hero-split p {
        font-size: 0.9rem;
    }
    
    .hero-split .btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}

/* Īsie telefoni (landscape) */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-split .w-full.md\:w-1\/2 {
        height: 100vh;
    }
    
    .hero-split .relative.z-30 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .hero-split h1 {
        font-size: 1.8rem;
    }
    
    .hero-split h1 span {
        font-size: 1.4rem;
    }
}

/* Planšetes */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-split h1 {
        font-size: 3rem;
    }
    
    .hero-split h1 span {
        font-size: 2.2rem;
    }
    
    .hero-split p {
        font-size: 1.2rem;
    }
}

/* Scroll indikators */
.hero-split .bottom-4.md\:bottom-8 {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    animation: float 3s ease-in-out infinite;
}

@media (min-width: 768px) {
    .hero-split .bottom-4.md\:bottom-8 {
        bottom: 2rem;
    }
}

.hero-split .w-5.h-8.md\:w-6.md\:h-10 {
    width: 20px;
    height: 32px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50px;
    display: flex;
    justify-content: center;
}

.hero-split .w-1.h-1\.5.md\:h-2 {
    width: 2px;
    height: 6px;
    background: rgba(255,255,255,0.8);
    border-radius: 10px;
    margin-top: 6px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.5; transform: translateY(3px); }
}

/* Gallery styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
}

.gallery-overlay p {
    color: rgba(255,255,255,0.8);
    transform: translateY(20px);
    transition: transform 0.3s ease 0.2s;
}

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/* Category filters */
.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    background: transparent;
    border: 1px solid var(--gray-300);
    border-radius: 30px;
    color: var(--gray-700);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-light);
}

/* Service cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--text-light);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--text-light);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    color: var(--text-light);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

/* Stats section */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text-light);
    padding: 80px 0;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-number span {
    font-weight: 700;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* Contact form */
.contact-form {
    background: var(--text-light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--gray-100);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 62, 80, 0.1);
    background: var(--text-light);
}

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

/* Map container */
.map-container {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
}

.footer h4 {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 500;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent);
    color: var(--gray-900);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

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

/* Responsive design */
@media (max-width: 1200px) {
    section {
        padding: 80px 0;
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .category-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .back-to-top {
        display: none;
    }
}

/* ===== GALERIJA KAS SAVELKAS KOPĀ ===== */
.snap-gallery {
    max-width: 1200px;
    margin: 0 auto;
}

.snap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: start;
}

@media (max-width: 768px) {
    .snap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .snap-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.snap-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.snap-item:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
    z-index: 5;
}

.snap-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.snap-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.snap-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.3) 40%,
        transparent 80%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.snap-item:hover .snap-overlay {
    opacity: 1;
}

.snap-category {
    color: #c0a98b;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.snap-title {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
    transform: translateY(10px);
    transition: transform 0.3s ease 0.05s;
}

.snap-item:hover .snap-category,
.snap-item:hover .snap-title {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .snap-overlay {
        opacity: 0.8;
        padding: 15px;
    }
    
    .snap-category,
    .snap-title {
        transform: translateY(0);
    }
    
    .snap-title {
        font-size: 0.85rem;
    }
}

.snap-item[x-cloak] {
    display: none;
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
}

/* Language switcher */
.lang-switcher {
    font-weight: 500;
    transition: color 0.3s ease;
}

.lang-switcher:hover,
.lang-switcher.active {
    color: var(--accent);
}

/* backdrop blur atbalsts */
@supports (backdrop-filter: blur(5px)) {
    .hero-split .backdrop-blur-sm,
    .btn-outline,
    .hero-split .top-4.left-4 span,
    .hero-split .top-4.right-4 span {
        backdrop-filter: blur(5px);
    }
}

@media (max-width: 767px) {
    .hero-split .top-4.right-4 {
        display: none !important;
    }
    
    .hero-split .top-4.left-4 {
        display: none !important;
    }
}