:root {
    /* Moderna barvna shema z rjavimi odtenki */
    --primary-color: #8B4513;
    --secondary-color: #A0522D;
    --accent-color: #CD853F;
    --text-color: #3E2723;
    --light-text: #6D4C41;
    --background: #FFFFFF;
    --light-background: #FFF8F3;
    --border-color: #DEB887;
    --success-color: #2E7D32;
    --error-color: #C62828;
    --gradient-start: #8B4513;
    --gradient-end: #A0522D;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--background);
    overflow-x: hidden; /* Prepreči horizontalno scrollanje */
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1002;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    transition: width 0.2s ease;
}

.nav-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    position: relative;
    transition: transform 0.3s ease;
}

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

.logo-img {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link-indicator {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover .nav-link-indicator,
.nav-link[aria-current="page"] .nav-link-indicator {
    width: 100%;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
    color: var(--primary-color);
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    border-radius: 0.8rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.language-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    padding: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1004; /* Najvišji z-index */
    position: relative;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: absolute;
    top: 80px; /* Višina navigacije */
    left: 0;
    right: 0;
    background: white;
    transform: translateY(-100%);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1003;
    overflow-y: auto;
    max-height: calc(100vh - 80px);
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border-color);
}

.mobile-menu.active {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
}

/* Hamburger button styles */
.mobile-menu-btn .hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    margin: 4px 0;
    background-color: var(--text-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Aktivno stanje hamburger gumba */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Navbar z-index */
.navbar {
    z-index: 1002;
}

/* Body stanje ko je meni odprt */
body.mobile-menu-active {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Mobile menu content */
.mobile-menu-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.mobile-nav-link {
    padding: 1rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    background: var(--light-background);
}

.mobile-nav-link:hover,
.mobile-nav-link[aria-current="page"] {
    background: rgba(0, 97, 255, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

.language-toggle.mobile {
    width: 100%;
    margin-top: 1rem;
    justify-content: center;
    padding: 1rem;
    font-size: 1.1rem;
}

.mobile-contact-info {
    margin-top: auto;
    padding: 2rem;
    background: var(--light-background);
    border-radius: 1rem;
}

.mobile-contact-info h3 {
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    background: white;
}

.contact-item:hover {
    background: rgba(0, 97, 255, 0.05);
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-text {
    font-weight: 500;
}

@media (max-width: 768px) {
    body.mobile-menu-active {
        overflow: hidden;
    }
    
    .mobile-menu {
        display: block;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

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

    .section-description {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .feature-card,
    .advantage-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.2rem;
    }

    /* Improve touch targets */
    .nav-links a,
    .submit-button,
    .gallery-nav,
    .info-item a {
        min-height: 44px; /* iOS minimum touch target size */
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Tablet Optimization */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
        margin: 0 auto;
    }

    .contact-container {
        gap: 3rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .nav-links a:hover::before {
        transform: scaleX(0);
    }

    .feature-card:hover,
    .advantage-card:hover {
        transform: none;
    }

    .info-item:hover {
        transform: none;
    }

    /* Improve touch feedback */
    .nav-links a:active,
    .feature-card:active,
    .advantage-card:active,
    .info-item:active {
        background: rgba(0, 97, 255, 0.05);
        transform: scale(0.98);
    }
}

/* High Contrast Mode */
@media (prefers-contrast: more) {
    :root {
        --primary-color: #0052D6;
        --text-color: #000000;
        --light-text: #444444;
        --border-color: #666666;
    }

    .nav-links a.active,
    .submit-button,
    .cta-button {
        background: var(--primary-color);
        color: white;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    .hero-background .slide {
        transition: opacity 0.1s linear;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 1rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-background .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-background .slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* About Section */
.about {
    padding: 8rem 0;
    background: var(--light-background);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(96, 165, 250, 0.1), rgba(0, 97, 255, 0.1));
    transform: rotate(45deg);
    z-index: 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: var(--light-text);
    font-size: 1.2rem;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    padding: 2.5rem;
    background: white;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

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

.feature-card i {
    font-size: 3rem;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--text-color);
}

/* Advantages Section */
.advantages {
    padding: 8rem 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.advantages::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: linear-gradient(45deg, rgba(96, 165, 250, 0.05), rgba(0, 97, 255, 0.05));
    border-radius: 50%;
    transform: rotate(45deg);
    z-index: 0;
}

.advantages::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, rgba(0, 97, 255, 0.05), rgba(96, 165, 250, 0.05));
    border-radius: 50%;
    transform: rotate(-45deg);
    z-index: 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.advantage-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    text-align: left;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at var(--mouse-x) var(--mouse-y),
        rgba(96, 165, 250, 0.1),
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 1rem;
    border-radius: 1rem;
    background-color: rgba(96, 165, 250, 0.1);
    transition: all var(--transition-normal);
}

.advantage-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.advantage-card-content {
    flex: 1;
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.advantage-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border-radius: 3px;
}

.advantage-card p {
    color: var(--light-text);
    line-height: 1.7;
    margin: 0;
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .advantage-card {
        padding: 2rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .advantage-card h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .advantages {
        padding: 4rem 0;
    }

    .advantage-card {
        padding: 1.5rem;
    }
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: var(--light-background);
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
    width: 100%;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: 0.8rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-normal);
    background: var(--light-background);
    min-height: 3.5rem;
    box-sizing: border-box;
    resize: vertical;
}

.form-group textarea {
    min-height: 10rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 97, 255, 0.1);
    background: white;
}

.form-group.error input,
.form-group.error textarea {
    border-color: var(--error-color);
    background: rgba(239, 68, 68, 0.05);
}

.form-group.success input,
.form-group.success textarea {
    border-color: var(--success-color);
    background: rgba(16, 185, 129, 0.05);
}

.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
}

.form-group.error .error-message {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.submit-button {
    width: 100%;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 1.2rem;
    border: none;
    border-radius: 0.8rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.submit-button:not(:disabled):hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-button.loading {
    color: transparent;
}

.submit-button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: loading 0.8s infinite linear;
}

.form-success-message {
    display: none;
    text-align: center;
    padding: 2rem;
}

.form-success-message.visible {
    display: block;
    animation: fadeInUp 0.5s ease forwards;
}

.form-success-message i {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.form-success-message h3 {
    color: var(--success-color);
    margin-bottom: 1rem;
}

.form-success-message p {
    color: var(--light-text);
    margin-bottom: 2rem;
}

@keyframes loading {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.info-item {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.map-container {
    flex: 1;
    min-height: 300px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    background: white;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-item i {
    font-size: 2.5rem;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    transition: transform var(--transition-normal);
}

.info-item:hover i {
    transform: scale(1.1);
}

.info-item a,
.footer-section a {
    color: inherit;
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
}

.info-item a::after,
.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    transition: width var(--transition-normal);
}

.info-item a:hover,
.footer-section a:hover {
    color: var(--primary-color);
}

.info-item a:hover::after,
.footer-section a:hover::after {
    width: 100%;
}

.footer-section a {
    color: var(--light-text);
}

.footer-section a:hover {
    color: white;
}

/* Footer */
.footer {
    background: var(--text-color);
    color: white;
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
}

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: white;
}

.footer-section p {
    color: white;
    margin-bottom: 0.8rem;
    transition: color var(--transition-normal);
}

.footer-section p:hover {
    color: var(--accent-color);
}

.footer-section p a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section p a:hover {
    color: var(--accent-color);
}

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

.footer-bottom #copyright-year {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

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

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 12px;
    }

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

    .container {
        padding: 0 1rem;
    }
}

/* Add styles for contact info hover effects */
.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(0, 97, 255, 0.05) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.info-item:hover::before {
    opacity: 1;
}

/* Gallery Section */
.gallery {
    padding: 8rem 0;
    background: var(--background);
    position: relative;
}

.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.gallery-view {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 1.5rem;
    overflow: hidden;
    background: var(--light-background);
    box-shadow: var(--shadow-lg);
}

.gallery-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide.active {
    opacity: 1;
    z-index: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all var(--transition-normal);
    z-index: 2;
    backdrop-filter: blur(5px);
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

@media (max-width: 768px) {
    .gallery-container {
        padding: 1rem;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .gallery-view {
        aspect-ratio: 4/3;
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: 2rem;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 0.5rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all var(--transition-normal);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

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

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

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

.logo img {
    height: 45px;
    width: auto;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Coatings Section Styles */
.section {
    padding: 6rem 0;
    background-color: var(--background-color);
}

.section.bg-gray-50 {
    background-color: #f9fafb;
}

.subsection-title {
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.feature-list li {
    position: relative;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
}

.feature-list li::before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.feature-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.numbered-list {
    list-style: none;
    counter-reset: item;
    padding: 0;
    margin: 0 0 1.5rem;
}

.numbered-list li {
    counter-increment: item;
    margin-bottom: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.numbered-list li::before {
    content: counter(item);
    background: var(--primary-color);
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.numbered-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.note {
    background-color: #fff8dc;
    border-left: 4px solid #ffd700;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #666;
}

.warning-text {
    background-color: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 500;
    margin-top: 2rem;
}

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

.specs-grid {
    display: grid;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.spec-item {
    padding: 1rem;
    background: #f9fafb;
    border-radius: 0.375rem;
    margin: 0;
}

.spec-group {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.spec-subtitle {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--heading-color);
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.spec-list li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .subsection-title {
        font-size: 1.5rem;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .specs-grid {
        gap: 1rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }

    .subsection-title {
        font-size: 1.25rem;
        padding-left: 0.75rem;
    }

    .note {
        padding: 0.75rem 1rem;
    }
} 