@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Monomakh+Unicode&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

/* Reset and Base Styles */
:root {
    --primary-color: #7d5b3a;
    --secondary-color: #6a4e32;
    --text-color: #333;
    --white: #fff;
    --light-gray: #f5f5f5;
    --cream-bg: #f5e6d3;
}

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

body {
    font-family: 'Monomakh Unicode', serif;
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header and Navigation */
header {
    background: linear-gradient(rgba(255,255,255,0.15), rgba(255,255,255,0.15)), url('images/lastbackground.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}

.main-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: none;
}

.logo {
    max-height: 150px;
    width: auto;
    display: block;
    filter: none;
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    position: relative;
    padding: 1rem 0;
    list-style: none;
}

.nav-links::before {
    display: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.7rem 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--white);
    font-weight: 600;
    background: none;
    transform: none;
    box-shadow: none;
}

.nav-links a:hover::after, .nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.language-selector {
    position: fixed;
    top: 1rem;
    right: 2rem;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    z-index: 1001;
}

.lang-link {
    display: flex;
    align-items: center;
    padding: 0.3rem;
    border-radius: 3px;
    transition: all 0.3s;
    opacity: 0.8;
    cursor: pointer;
}

.lang-link:hover {
    opacity: 1;
    transform: translateY(-1px);
    background-color: rgba(255,255,255,0.15);
}

.lang-link.active {
    opacity: 1;
    background-color: rgba(255,255,255,0.1);
}

.flag-icon {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Remove unused dropdown styles */
.lang-dropdown-btn,
.lang-dropdown-content {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/lastbackground.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 50px;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-family: 'Monomakh Unicode', serif;
    font-weight: 300;
    font-style: normal;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-family: 'Monomakh Unicode', serif;
    font-weight: 300;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    font-family: 'Monomakh Unicode', serif;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 4px;
}

.cta-button:hover {
    background-color: var(--secondary-color);
}

/* Services Section */
.services {
    padding: 5rem 5%;
    background-color: var(--cream-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    scroll-margin-top: 80px;
}

.services-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 2rem;
}

.service-info {
    flex: 1;
    text-align: left;
}

.service-image {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.service-img {
    width: 100%;
    height: 680px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-title {
    font-family: 'Monomakh Unicode', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: 2px;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.service-description {
    font-size: 1.1rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-color);
}

.service-description p {
    margin-bottom: 1rem;
}

/* Remove the reverse layout for even items */
.service-item:nth-child(even) {
    flex-direction: row;
}

@media (max-width: 968px) {
    .service-item {
        flex-direction: column;
        gap: 2rem;
    }

    .service-item:nth-child(even) {
        flex-direction: column;
    }

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

    .service-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .service-img {
        height: 300px;
    }
}

/* Remove old about section styles */
.about {
    display: none;
}

.about-content {
    display: none;
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    background-color: var(--cream-bg);
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-margin-top: 80px;
}

.contact h2 {
    font-family: 'Monomakh Unicode', serif;
    font-weight: 300;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.contact-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    justify-content: center;
}

.contact-info {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem 4rem;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: 100%;
    text-align: center;
}

.contact-info h3 {
    font-family: 'Monomakh Unicode', serif;
    font-weight: 300;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.contact-info p {
    margin: 1.5rem 0;
    font-size: 1.1rem;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.map-container {
    flex: 2;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.map-container:hover {
    transform: scale(1.02);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 5% 1rem;
}

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

.footer-section h3 {
    font-family: 'Monomakh Unicode', serif;
    font-weight: 300;
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
}

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

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
}

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

.footer-bottom p {
    font-family: 'Monomakh Unicode', serif;
    font-weight: 300;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        padding: 1rem 0;
    }
    
    .logo-container {
        margin-left: 0.5rem;
    }
    
    .logo {
        max-height: 110px;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 1rem;
    }

    .language-selector {
        position: fixed;
        top: 1rem;
        right: 1rem;
    }

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

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

    .service-title {
        font-size: 2rem;
    }
    
    .service-description {
        font-size: 1rem;
    }
    
    .services-content {
        gap: 2rem;
    }

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

    .contact-info, .map-container {
        width: 100%;
    }

    .map-container iframe {
        height: 300px;
    }

    .contact-info {
        padding: 2rem;
    }

    .contact-info h3 {
        font-size: 2rem;
    }

    .contact-info p {
        font-size: 1rem;
    }
}

.location-link {
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-link a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    padding: 5px 0;
    position: relative;
}

.location-link a:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: currentColor;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.location-link:hover a:after {
    transform: scaleX(1);
}

.location-link i {
    margin-right: 10px;
    color: #8B4513;
}

/* Map Modal Styles */
.map-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    position: relative;
    width: 80%;
    max-width: 900px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.map-modal.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 30px;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1;
}

.close-modal:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
    }
}

/* Gallery Section */
.gallery {
    padding: 5rem 5%;
    background-color: var(--cream-bg);
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-margin-top: 80px;
}

.gallery h2 {
    font-family: 'Monomakh Unicode', serif;
    font-weight: 300;
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 3rem;
}

.gallery-container {
    width: 100%;
    max-width: 800px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem;
}

.gallery-content {
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    aspect-ratio: 1080/1350;
    max-height: 85vh;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.gallery-slide {
    min-width: 100%;
    height: 100%;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    vertical-align: middle;
}

.gallery-button {
    background: rgba(125, 91, 58, 0.3);
    color: var(--white);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    backdrop-filter: blur(5px);
}

.gallery-button:hover {
    background: rgba(125, 91, 58, 0.7);
    transform: scale(1.05);
}

.gallery-button i {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.prev-button:hover i {
    transform: translateX(-3px);
}

.next-button:hover i {
    transform: translateX(3px);
}

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

    .gallery-content {
        max-height: 70vh;
    }

    .gallery-button {
        width: 45px;
        height: 45px;
    }

    .gallery-button i {
        font-size: 1.5rem;
    }
}

/* Description Section */
.description {
    padding: 5rem 5%;
    background-color: var(--cream-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
}

.description-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 4rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.description-text {
    font-family: 'Monomakh Unicode', serif;
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-color);
    text-align: center;
    font-style: italic;
}

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

    .description-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }
} 