/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Tema Scuro (default) */
:root {
    --primary-color: #ffffff;
    --secondary-color: #71767a;
    --accent-color: #1d9bf0;
    --text-dark: #ffffff;
    --text-light: #71767a;
    --bg-dark: #000000;
    --bg-card: #16181c;
    --bg-hover: #1e1e1e;
    --border-color: #2f3336;
    --white: #ffffff;
    --shadow: rgba(255, 255, 255, 0.1);
    --shadow-hover: rgba(255, 255, 255, 0.2);
}

/* Tema Chiaro */
[data-theme="light"] {
    --primary-color: #000000;
    --secondary-color: #536471;
    --accent-color: #1d9bf0;
    --text-dark: #000000;
    --text-light: #536471;
    --bg-dark: #ffffff;
    --bg-card: #f7f9f9;
    --bg-hover: #eff3f4;
    --border-color: #e1e8ed;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--text-dark);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.theme-toggle {
    background-color: var(--bg-card);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.theme-toggle:hover {
    background-color: var(--bg-hover);
    transform: scale(1.05);
}

.theme-icon {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
    position: relative;
}

.theme-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid var(--text-dark);
    background-color: transparent;
    opacity: 0.3;
}

[data-theme="light"] .theme-icon {
    background-color: transparent;
    border: 1.5px solid var(--text-dark);
    width: 16px;
    height: 16px;
}

[data-theme="light"] .theme-icon::after {
    opacity: 0;
}

.lang-toggle {
    background-color: var(--bg-card);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.lang-toggle:hover {
    background-color: var(--bg-hover);
}

/* Hero Section */
.hero {
    height: 600px;
    background-color: var(--bg-dark);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('hero/IMG_20240830_192237.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--bg-dark);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--text-light);
    transform: translateY(-3px);
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

/* About Section */
.about {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.subsection-title {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.feature-item:hover {
    background-color: var(--bg-hover);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
}

/* Video Tour Section */
.tour {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
}

.tour-content {
    max-width: 1200px;
    margin: 0 auto;
}

.tour-description {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-container:hover {
    border-color: var(--white);
    transform: scale(1.02);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Gallery Section */
.gallery {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 4/3;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    border-color: var(--text-dark);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 15px;
}

.contact-name {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-label {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 2rem;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.contact-phone:hover {
    background-color: var(--bg-hover);
    border-color: var(--text-dark);
    transform: scale(1.05);
}

.phone-icon {
    font-size: 1.8rem;
}

.contact-note {
    margin-top: 2rem;
    color: var(--text-light);
    font-style: italic;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--text-light);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 16px;
    user-select: none;
    transition: color 0.3s ease;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .contact-phone {
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
    }

    .lightbox-close {
        font-size: 30px;
        top: 20px;
        right: 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 400px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
