/* CSS Variables for Light and Dark Mode */
:root {
    --bg-color: #fff;
    --text-color: #333;
    --hero-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --card-bg: #fff;
    --card-shadow: 0 10px 30px rgba(0,0,0,0.1);
    --accent-color: #ff6b35;
    --footer-bg: #333;
    --input-bg: #fff;
    --input-border: #e9ecef;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #121212;
        --text-color: #f0f0f0;
        --hero-bg: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        --card-bg: #1e1e1e;
        --card-shadow: 0 10px 30px rgba(0,0,0,0.3);
        --accent-color: #ff8c42;
        --footer-bg: #1a1a1a;
        --input-bg: #2a2a2a;
        --input-border: #444;
    }
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    transition: background 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.logo i {
    margin-right: 10px;
    color: var(--accent-color);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

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

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu li:last-child {
    margin-left: 2rem;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--accent-color);
}

.nav-instagram {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.nav-instagram:hover {
    color: var(--accent-color);
}

/* Language Select */
#language-select {
    /*margin-left: 1rem;*/
    background: var(--accent-color);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path d="M6 8L2 4h8z" fill="white"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 30px;
    transition: background 0.3s ease;
    height: auto;
    min-width: 60px;
    text-align: right;
}

#language-select:hover {
    background-color: #e55a2b;
}

#language-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.5);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--hero-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    padding: 2rem 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 65%;
    padding: 0 20px;
}

#hero-image {
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto 2rem;
    border-radius: 15px;
    display: block;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    background: #e55a2b;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Sections */
section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 10px auto;
    border-radius: 2px;
}

h3 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: var(--text-color);
    font-weight: 600;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    opacity: 0.9;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.stat h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-color);
    opacity: 0.7;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.service-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

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

.service-subtitle {
    font-size: 1.2rem;
    font-weight: normal;
    margin: 0.5rem 0 1rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1rem;
}

.service-card.full-width {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.2rem;
    padding: 2rem;
}

/* Gallery Section */
.carousel {
    width: 80vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-width: none;
}

.main-image {
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

#main-img {
    width: 100%;
    height: 80vh;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s ease;
    background: var(--card-bg); /* to fill bars if any */
}

@media (max-width: 768px) {
    #main-img {
        height: 60vh;
        object-fit: contain;
    }
}

.thumbnails {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumb.active {
    border-color: var(--accent-color);
    opacity: 1;
}

.thumb:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.info-item p {
    color: var(--text-color);
    opacity: 0.8;
}

.info-item a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.8;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.info-item a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.contact-form {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 1rem;
    border: 2px solid var(--input-border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--input-bg);
    color: var(--text-color);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.contact-form button {
    width: 100%;
    padding: 15px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #e55a2b;
}

.contact-map {
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Footer */
footer {
    background: var(--footer-bg);
    color: #fff;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    color: #ccc;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #ccc;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    #hero-image {
        width: 100%;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0;
        text-align: center;
        padding: 1rem 0;
    }
    
    .nav-menu li a {
        font-size: 1.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .service-card {
        padding: 2rem;
    }
}

/* Modal Styles */
.modal {
    display: none !important;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

#privacy-toggle:checked ~ #privacy-modal {
    display: block !important;
}

.modal-content {
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 5% auto;
    padding: 50px 20px 20px 20px;
    border-radius: 15px;
    width: 90%;
    max-width: 60%;
    max-height: 80%;
    overflow-y: auto;
    box-shadow: var(--card-shadow);
    position: relative;
}

.close {
    color: var(--text-color);
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    float: none;
}

.close:hover,
.close:focus {
    color: var(--accent-color);
}

#privacy-link {
    cursor: pointer;
    text-decoration: underline;
    color: #ccc;
    transition: color 0.3s ease;
}

#privacy-link:hover {
    color: var(--accent-color);
}

#manage-cookies-link {
    cursor: pointer;
    text-decoration: underline;
    color: #ccc;
    transition: color 0.3s ease;
}

#manage-cookies-link:hover {
    color: var(--accent-color);
}

/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--footer-bg);
    color: #fff;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    display: none; /* Hidden by default, shown via JS */
}

.cookie-consent-content p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.cookie-consent-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.btn-accept {
    background: var(--accent-color);
    color: #fff;
}

.btn-accept:hover {
    background: #e55a2b;
}

.btn-reject {
    background: #666;
    color: #fff;
}

.btn-reject:hover {
    background: #555;
}

.btn-customize {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.btn-customize:hover {
    background: #fff;
    color: var(--footer-bg);
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 15px;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-consent-buttons button {
        width: 100%;
        max-width: 200px;
    }
}