@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&family=Lora:wght@400;700&display=swap');

:root {
    --primary-color: #ffffff;
    --secondary-color: #1a1a1a;
    --accent-color: #b9a38c;
    --text-color: #333;
    --success-color: #28a745;
    --error-color: #dc3545;
    --font-main: 'Montserrat', sans-serif;
    --font-headings: 'Lora', serif;
}

/* Basic Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
}

h2 {
    font-family: var(--font-headings);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    z-index: 1000;
    background-color: transparent;
    color: var(--primary-color);
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}

header.scrolled {
    background-color: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(10px);
}

header .logo {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.5rem;
}

.lang-switcher a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 0.5rem;
    padding: 0.2rem 0.5rem;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-switcher a:hover, .lang-switcher a:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

.lang-switcher a.active {
    border-color: var(--accent-color);
}

/* Hamburger & Mobile Nav */
.hamburger-menu {
    display: block;
    position: relative;
    width: 24px;
    height: 20px;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu .fa-bars {
    font-size: 1.5rem;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--secondary-color);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(10px);
}

.mobile-nav.open a {
    animation: fadeInNav 0.5s ease forwards;
}

@keyframes fadeInNav {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
#hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--primary-color);
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -2;
}

#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.5s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-family: var(--font-headings);
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* CTA Button */
.cta-button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background-color: #a8917a;
    transform: translateY(-2px);
}

/* General Content Section */
.content-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-intro {
    text-align: center;
    margin-bottom: 4rem;
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image { flex: 1; }
.about-text { flex: 1.5; }
.about-image img { width: 100%; height: auto; border-radius: 8px; }

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

.collection-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    height: 400px;
}

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

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

.collection-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    display: flex;
    align-items: flex-end;
    color: var(--primary-color);
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.collection-overlay h3 {
    margin: 0;
    transform: translateY(20px);
    transition: transform 0.5s ease;
    font-family: var(--font-headings);
    font-size: 1.8rem;
}

.collection-item:hover .collection-overlay h3 { transform: translateY(0); }

/* Locations Section */
.locations-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.location-list h3 {
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-headings);
    font-size: 1.5rem;
}

#map {
    height: 450px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ddd;
}

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

.gallery-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s 0.4s linear;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
}

/* Contact Section */
#contact-form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
    gap: 1.5rem;
}

#contact-form input,
#contact-form textarea {
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: 2px solid transparent;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(185, 163, 140, 0.5);
}

.form-feedback {
    text-align: center;
    margin-top: 1rem;
    font-weight: bold;
}
.form-feedback.success { color: var(--success-color); }
.form-feedback.error { color: var(--error-color); }

#contact-form button { align-self: center; }

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-align: center;
    padding: 4rem 2rem;
}

.social-icons {
    margin-bottom: 2rem;
}

.social-icons a {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.social-icons a:hover, .social-icons a:focus {
    color: var(--accent-color);
    transform: translateY(-3px);
    outline: none;
}

.workcomge-logo {
    width: 150px; /* Reduced size for footer */
    height: auto;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
    header { padding: 1rem; }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.2rem; }
    .content-section { padding: 4rem 1.5rem; }
    .about-container, .locations-container {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}
