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

@import url('https://fonts.googleapis.com/css2?family=Sacramento&display=swap');

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
}

/* Navigation */
.header {
    background-color: #7c241c;
    position: sticky;
    top: 0;
    z-index: 1000;
    position: relative;
    border: none;
    box-shadow: none;
}

.navbar {
    padding: 15px 0;
}

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

.site-title h1 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
}

.site-title p {
    font-family: 'Sacramento', Sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0;
    margin-top: 5px;
    font-weight: 400;
    line-height: 0.8em;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 40px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.language-toggle span {
    cursor: pointer;
    font-size: 14px;
    color: #ffffff;
}

.language-toggle a {
    color: #ffffff;
    text-decoration: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: auto;
    overflow: visible;
    margin-top: 0;
    padding-top: 0;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: auto;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    color: #fff;
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

.section {
    padding: 80px 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-title {
    font-family: 'Sansita Swashed', cursive;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

/* Profile Section */
.profile-section {
    background-color: #fff;
}

.profile-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
}

.profile-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.profile-text h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #333;
}

.profession {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 10px;
}

.location {
    font-size: 0.95rem;
    color: #999;
    margin-bottom: 30px;
    line-height: 1.6;
}

.divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 30px 0;
}

.profile-text h4 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #333;
}

.profile-text p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.7;
}

.profile-text ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.profile-text ul li {
    font-size: 1rem;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.7;
}

/* News Section */
.news-section {
    background-color: #fafafa;
}

.news-content {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.news-date {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 10px;
    display: block;
}

.news-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}

/* Gallery Section - Slideshow */
.gallery-section {
    background-image: url('images/gallarybackground.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 80px 0;
}

.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

.slide {
    display: none;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: contain;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.dots-container {
    text-align: center;
    padding: 20px;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: #333;
}

.slide {
    animation-name: slideIn;
    animation-duration: 0.8s;
    animation-timing-function: ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade {
    animation-name: fade;
    animation-duration: 1.2s;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Video Section */
.video-section {
    background-color: #fff;
}

.video-content {
    max-width: 900px;
    margin: 0 auto;
}

.video-player {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-section {
    background-color: #fafafa;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

.contact-email a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    border-bottom: 1px solid #333;
    transition: color 0.3s;
}

.contact-email a:hover {
    color: #666;
}

.turnstile-wrapper {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 30px;
}

.turnstile-wrapper p {
    margin-bottom: 20px;
    color: #666;
}

.cf-turnstile {
    display: inline-block;
    margin: 0 auto;
}

.contact-form-hidden {
    display: none;
}

.contact-form-visible {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form-container iframe {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: #333;
    color: #999;
    text-align: center;
    padding: 30px 0;
}

.footer p {
    font-size: 0.9rem;
}

.footer .copyright-notice {
    font-size: 0.8rem;
    margin-top: 10px;
    color: #888;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #555;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon svg {
    width: 22px;
    height: 22px;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-icon.facebook:hover {
    background-color: #1877f2;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.twitter:hover {
    background-color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .container-nav {
        position: relative;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #7c241c;
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
        display: none;
        gap: 0;
    }

    .nav-menu.active {
        display: flex !important;
    }

    .nav-menu li {
        padding: 15px 30px;
        width: 100%;
    }

    .nav-menu a {
        display: block;
        width: 100%;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a:hover {
        transform: none;
        background-color: rgba(255, 255, 255, 0.1);
    }

    .hamburger {
        display: flex !important;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .profile-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section {
        padding: 50px 0;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .gallery-item img {
        height: 150px;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #7c241c;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    50% {
        transform: translateY(-5px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.scroll-to-top:hover {
    background-color: #5a1814;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translateY(-5px) scale(1.1);
    }
    50% {
        transform: translateY(-5px) scale(1.15);
    }
}

.scroll-to-top:active {
    transform: translateY(-3px) scale(1.05);
}

.scroll-to-top span {
    line-height: 1;
    animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
