/* Global Styles */
:root {
    --primary-color: #de8dde; /* Fuschia */
    --primary-light: #ff80ff;
    --primary-dark: #cc00cc;
    --secondary-color: #333333;
    --text-color: #333333;
    --light-color: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --gray-dark: #888888;
    --font-primary: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
}
/* Highlight Text */
.highlight {
    color: var(--primary-color);
    font-weight: 600;
}
/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 0, 255, 0.3);
    font-family: 'Poppins', sans-serif;
}
.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 0, 255, 0.4);
}
.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    box-shadow: 0 4px 10px rgba(255, 0, 255, 0.3);
}
.btn-text {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}
.btn-text:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}
/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative; /* Changed from sticky to relative */
    z-index: 100;
}
/* Align navigation and language selector */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between navigation and language selector */
}
/* Logo and Title */
.logo-container {
    display: flex;
    align-items: center;
}
.logo-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: contain;
}
.site-title {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: 0;
    margin: 0;
}
/* Navigation Toggle */
.nav-toggle {
    display: none; /* Default: hidden for larger screens */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 101;
}
.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-dark); /* Make the toggle more visible */
    transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}
/* Main Navigation */
.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: transparent !important;
    transition: all 0.3s ease-in-out;
}
.main-nav.active {
    display: flex; /* Ensure it remains visible when active */
}
.nav-links {
    display: flex;
    gap: 20px; /* Adjust spacing between links */
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: transparent !important;
}
.nav-links li {
    position: relative;
}
.nav-links a {
    text-decoration: none;
    color: #333; /* Adjust color as needed */
    font-weight: 500;
    padding: 10px 15px;
    transition: color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}
.nav-links a:hover {
    color: var(--primary-dark); 
}
.nav-links a.active {
    background-color: #fff !important; /* Set background to white */
    color: var(--primary-dark); 
}
.nav-links a.active:hover {
    background-color: var(--gray-light);
    color: var(--text-color); 
}
/* Dropdown menu styles */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%; /* Position below the parent link */
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-content a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
}
.dropdown-content a:hover {
    background-color: #f0f0f0;
}
/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex; /* Show toggle button on smaller screens */
        background-color: transparent !important;
    }
    .main-nav {
        display: none; /* Hide navigation by default */
        flex-direction: column; /* Stack links vertically */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--light-color)!important; /* White background for the navigation pane */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Shadow for better visibility */
        z-index: 100;
        transition: all 0.3s ease-in-out;
        padding-bottom: 10px;
        padding-top: 10px;
    }
    .main-nav.active {
        display: block; /* Show navigation when active */
    }
    .nav-links {
        flex-direction: column; /* Stack links vertically */
        gap: 0;
    }
    .nav-links li {
        text-align: center;
    }
    .nav-links a {
        padding: 4px 0; /* Add padding for better spacing */
        color: var(--text-color); /* Ensure links are visible */
        background-color: transparent !important;
    }
    .nav-links a:hover {
        background-color: var(--gray-light); /* Hover effect */
    }
    .dropdown-content {
        position: static; /* Position dropdown content within the flow */
        display: none; /* Hidden by default */
        box-shadow: none;
        font-size: 13px;
    }
    .dropdown.active .dropdown-content {
        display: block; /* Show dropdown when active */
    }
}
/* Language Selector Styling */
.language-selector select {
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}
/* Hero Section */
.hero-logo {
    width: 400px;
    height: auto;
    margin-bottom: 0px;
}
.hero {
    height: 60vh;
    background-color: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(rgba(255, 255, 255, 0.781), rgba(255, 255, 255, 0.814)), 
                      url('./Images/chambira.jpg'); /* Add the image */
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
}
.hero-content {
    max-width: 1000px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    
}
.hero-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 2rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(255, 0, 255, 0.3);
    font-family: 'Poppins', sans-serif;
}
.hero-content h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    font-family: 'Poppins', sans-serif;
    margin-top: 0px;
    padding-top: 0px;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
}
/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 50px 5% 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-logo-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}
.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-light);
}
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.2rem;
}
.social-icon:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}
.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    color: var(--primary-light);
}
.footer-links h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}
.footer-links ul li {
    margin-bottom: 10px;
}
.footer-links ul li a {
    transition: var(--transition);
}
.footer-links ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Page Header */
.page-header {
    background-color: var(--gray-light);
    text-align: justify;
    width: 100%;
    padding: 80px 5%;
    position: relative;
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
}
.page-header h2 {
    font-size: 4cap;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-align: center;
}
.page-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}
.page-header p {
    font-size: 1.2rem;
    color: var(--gray-dark);
    margin: 0 auto;
    position: relative;
    text-align: justify;
    width: 100%;
    z-index: 1;
    margin-bottom: 20px;
}
.lefty {
    text-align: left;
    margin-bottom: 80px;
    margin-top: 70px;
}
.lefty p {
    text-align: left;
}
.righty {
    text-align: right;
}
.righty p {
    text-align: right;
}
/* Index Page */
/* Upcoming Events Section*/
.upcoming-events {
    background: linear-gradient(rgba(255, 255, 255, 0.781), var(--primary-color));
}
.upcoming-events h2 {
    padding: 80px 5%;
    padding-bottom: 30px;
    font-size: 2.5rem;
}
.upcoming-events .events-grid {
    padding: 0 5%;
}
.upcoming-events,
.newsletter-banner {
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 0;
    padding-top: 0;
}
.upcoming-events .btn-secondary {
    background-color: transparent;
    color: var(--light-color);
    padding: 10px 10px;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--light-color);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}
.upcoming-events .btn-secondary:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 10px 10px;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--light-color);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}
/* Featured Section*/
.featured {
    padding: 80px 5%;
    text-align: center;
    background-color: var(--light-color);
}
.featured h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}
.featured h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}
.featured-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.item {
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
}
.item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
.item-img {
    height: 250px;
    background-color: var(--gray-medium);
    background-image: url('/placeholder.jpg');
    background-size: cover;
    background-position: center;
}
.product1-img{
    background-image: url('Images/Earring.jpg');
}
.product2-img{
    background-image: url('Images/Wallets.jpg');
}
.product3-img{
    background-image: url('Images/slippers.jpg');
}
.item-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(255, 0, 255, 0.3);
}
.item h3 {
    margin: 20px 0 10px;
    padding: 0 20px;
    color: var(--primary-color);
}
.item p {
    color: var(--gray-dark);
    padding: 0 20px 20px;
}
/* Our Story page*/
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 80px 5%;
    background-color: var(--gray-light);
    position: relative;
}
.about-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-color);
    z-index: 0;
}
.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.about-text p {
    margin-bottom: 30px;
}
.about-image {
    background-color: var(--gray-medium);
    border-radius: 12px;
    background-image: url('Images/iquitos.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 500px;
    min-height: 500px;
}
.about-image::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 8px;
    z-index: -1;
}
.about-image2 {
    width: 3000px;
    border-radius: 20px;
    overflow: hidden;
}
@media (max-width: 1300px) {
  .ourstory {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
    width: auto;
  }
  .about-image2 {
    width: 100%;
    max-width: 700px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
  }
  .about-ourstory {
    width: 100vw; /* Full viewport width */
    max-width: 100% !important; /* Force override any inherited max-width */
    margin: 0 !important;
    padding: 0 16px; /* Safety padding */
    box-sizing: border-box;
    text-align: center;
  }
}
.olga-image {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.about-ourstory {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 700px;
}
.ourstory {
  display: flex;
  align-items: flex-start;    /* aligns image and paragraph to the top */
  gap: 50px;                  /* spacing between image and paragraph */
}
/* Quote Section */
.quote-section {
    padding: 60px 5%;
    background-color: var(--gray-light);
    position: relative;
    margin: 50px 0;
}
.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
}
.quote-section .container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}
.quote-section blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding: 20px 40px;
}
.quote-section blockquote::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    left: -10px;
    top: -20px;
    color: var(--primary-color);
    opacity: 0.2;
}
.quote-section blockquote p {
    margin-bottom: 15px;
    line-height: 1.6;
}
.quote-section blockquote cite {
    display: block;
    font-size: 1rem;
    font-style: normal;
    text-align: right;
    color: var(--primary-color);
}
.quote-section > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-color);
}
/* Dual Section (Mission and Action) */
.dual-section {
    padding: 80px 5%;
    background-color: var(--light-color);
}
.dual-section .container {
    max-width: 1200px;
    margin: 0 auto;
}
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.mission-box, .vision-box {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(185, 175, 175, 0.1);
    transition: var(--transition);
}
.mission-box {
    background-color: #f1d9f3;
    border-left: 4px solid var(--primary-color);
}
.vision-box {
    background-color: #f1d9f369;
    border-left: 4px solid var(--primary-color);
}
.mission-box:hover, .vision-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.mission-content h3, .vision-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
}
.mission-content p, .vision-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--text-color);
}
.mission-content ul, .vision-content ul {
    list-style-type: none;
    padding-left: 0;
}
.mission-content ul li, .vision-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    line-height: 1.5;
}
.mission-content ul li:before, .vision-content ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}
/* Slideshow Section */
.slideshow-section {
    padding: 80px 5%;
    background-color: var(--gray-light);
    position: relative;
}
.slideshow-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
}
.slideshow-section .container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}
.slideshow-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
}
.slideshow-section h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}
.slideshow-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    height:fit-content;
}
.slide {
    aspect-ratio: 2 / 1; /* or 16 / 9 for widescreen */
    display: none;
    width: 100%;
}
.slide img {
    width: 100%;
    aspect-ratio: 2 / 1; /* or 16 / 9 for widescreen */
    object-fit: cover;
    display: block;
}
.slide-caption {
    text-align: center;
    padding: 15px;
    height: 90px;
    background-color: var(--light-color);
    color: var(--text-color);
}
@media (max-width: 860px) {
    .slide-caption {
    text-align: center;
    padding: 15px;
    height: 130px;
    background-color: var(--light-color);
    color: var(--text-color);
}
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 30px;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2;
}
.next {
    right: 0;
    border-radius: 30px;
}
.prev:hover, .next:hover {
    background-color: var(--primary-color);
}
.dots-container {
    text-align: center;
    margin: 20px 0;
}
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.active, .dot:hover {
    background-color: var(--primary-color);
}
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}
@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}
/* Responsive adjustments for Our Story page */
@media (max-width: 992px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    .mission-box, .vision-box {
        margin-bottom: 30px;
    }
}
@media (max-width: 768px) {
    .quote-section blockquote {
        font-size: 1.3rem;
        padding: 15px 30px;
    }
    .quote-section blockquote::before {
        font-size: 4rem;
    }
    .slideshow-section h2 {
        font-size: 2rem;
    }
    .prev, .next {
        padding: 10px;
        font-size: 16px;
    }
}
@media (max-width: 576px) {
    .quote-section blockquote {
        font-size: 1.1rem;
        padding: 10px 20px;
    }
    .quote-section blockquote::before {
        font-size: 3rem;
        left: -5px;
        top: -15px;
    }
    .mission-content h3, .vision-content h3 {
        font-size: 1.5rem;
    }
    .slideshow-section h2 {
        font-size: 1.8rem;
    }
    .dot {
        height: 12px;
        width: 12px;
    }
}
/* Crafted with devotion page */
.ourdevotion{
    display: flex;
    flex-direction: row;
    gap: 2rem; /* Space between image and text */
    align-items: flex-start;
    flex-wrap: wrap; /* Ensure it stacks on small screens */
}
.image-ourdevotion{
    flex: 1 1 300px; /* Grows/shrinks with a min width */
}
.about-ourdevotion{
    flex: 2 1 500px; /* More space for text */
}
.olga-chambira{
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Make image corners rounded */
}
@media (max-width: 768px) {
    .ourdevotion {
        flex-direction: column;
    }
}
.about-image3 {
    background-color: var(--gray-medium);
    border-radius: 12px;
    background-image: url('Images/CentroFuerte.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 500px;
    min-height: 500px;
}
.about-image3::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 8px;
    z-index: -1;
}
.section-divider {
  border: none;
  border-top: 1px solid #ccc;  /* Light gray thin line */
  margin: 0rem auto;
  width: 90%;
}
.community-item1 {
  display: grid;
  grid-template-columns: 3fr 1fr; /* Left column twice as wide */
  gap: 50px;
  padding: 80px 5%;
  position: relative;
}
.community-item2 {
  display: grid;
  grid-template-columns: 2fr 1fr; /* Left column twice as wide */
  gap: 50px;
  padding: 80px 5%;
  position: relative;
}
.community-item3 {
  display: grid;
  grid-template-columns: 1fr 2fr; /* Left column twice as wide */
  gap: 50px;
  padding: 80px 5%;
  position: relative;
}
.community-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.community-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.video-container {
  width: 100%;
  aspect-ratio: 16 / 9; /* keeps it proportional */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.video-container-short {
  width: 100%;
  aspect-ratio: 9 / 16; /* keeps it proportional for short videos */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.video-container-short iframe {
  width: 100%;
  height: 100%;
  border: none;
}
@media (max-width: 1302px) {
    .community-item1 {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
        text-align: center; /* Center text */
    }
    .video-container {
        margin-bottom: 20px; /* Add space below video on small screens */
    }
}
@media (max-width: 921px) {
    .community-item2 {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
        text-align: center; /* Center text */
    }
    .community-item3 {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
        text-align: center; /* Center text */
    }
    .video-container-short {
        margin-bottom: 20px; /* Add space below video on small screens */
    }
}
/* Map Section */
.text-map {
    text-align: center;
    margin-top: 60px;
}
.map-container2 {
    max-width: 1100px;
    margin: 30px auto;
    margin-top: 30px;
    height: 500px;
    background-color: var(--gray-medium);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    align-items: center;
}
.MarcaLoreto{
    display: flex;
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 2rem;
    margin-top: 2rem;
    margin-right: 2rem;
}
.about-MarcaLoretotext {
    flex: 1; /* Text area takes more space */
    margin-left: 2rem;
}
.image-MarcaLoreto {
    flex: 1; /* Image area takes less space */
    display: flex;
    align-items: stretch;
}
.LoretoMarcaImage{
    width: 100%;
    height: 100%;
    object-fit: cover; /* fills the container without distortion */
    border-radius: 8px;
    display: block;
}
/*Map Section - communities + stores*/
#leaflet-map {
  width: 100%;
  height: 100vh;
}
.leaflet-popup-content {
    margin: 0;
    line-height: 1.4;
}
.custom-tooltip {
  background-color: #fff;
  color: #333;
  border-radius: 10px;
  padding: 12px 16px;
  max-width: 300px;
  font-size: 14px;
  line-height: 1.5;
}
.map-section {
  margin: 0;
  padding: 0;
}
/* Collection Page */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 5%;
    font-weight: normal;
    margin-bottom: 50px;
}
.custom-orders {
    background-color: var(--gray-light);
    text-align: justify;
    width: 100%;
    padding: 70px 20%;
    position: relative;
    color: var(--lig);
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
}
.custom-orders h3 {
    position: relative;
    font-size: 1.5rem;
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
}
.custom-orders p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
}
.order-whatsapp {
    text-align: right;
}
.filter-container {
    margin-top: 50px;
    display: flex;
    justify-content: left;
    align-items: left;
}
.filter-btn {
    margin-left: 10px;
    margin-top: 10px;
    justify-content: center;
    gap: 20px;
    background-color: var(--light-color);
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-family: var(--font-primary);
    transition: var(--transition);
}
.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}
.collection-item {
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: visible;
}
.collection-item .item-extra {
  display: none;
  position: absolute;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 1rem;
  border: 1px solid #eee;
  border-top: none;              /* no double-border at the seam */
  border-radius: 0 0 8px 8px;  /* only round bottom corners */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 10;
}
.collection-item.expanded {
  border-radius: 8px 8px 0 0;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transition: var(--transition);
}
.collection-item.expanded .item-extra {
  display: block;              /* show when expanded */
  position: absolute;
  top: 100%;
  left: -1px; /* align with the item */
  width: 100.65%;
  z-index: 10;    
  transition: var(--transition);           /* ensure it covers all other items */
}
.collection-item .item-extra p {
    color: var(--gray-dark);
    margin-top: 5px;
}   
.collection-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);         /* show when expanded */
    z-index: 9999;
    transition: var(--transition);
}
.collection-item.expanded:hover {
  transform: none !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important; /* no hover effect when expanded */
}
.item-details p {
    color: var(--gray-dark);
    padding: 0 5px 5px;
    text-align: left;
}
.product-image {
    width: 100%; /* Set the desired width */
    height: 350px; /* Set the desired height */
    object-fit: cover; /* Crop the image to fit the dimensions */
    border-radius: 5px 5px 0 0; /* Optional: Add rounded corners */
    display: block; /* Ensure proper alignment */
    margin: 0 auto; /* Center the image horizontally */
}
/* Google Sheets Integration Styles */
/* Loading Indicator */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: var(--primary-color);
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Error Message */
.error-message {
    text-align: center;
    color: #e74c3c;
    padding: 30px;
    margin: 20px auto;
    max-width: 600px;
    background-color: #fdf2f2;
    border-radius: 8px;
    border: 1px solid #f8d7da;
}
.retry-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
    font-family: var(--font-primary);
    transition: var(--transition);
}
.retry-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}
/* No Items Message */
.no-items-message {
    text-align: center;
    padding: 40px;
    grid-column: 1 / -1;
    color: var(--gray-dark);
    font-family: var(--font-primary);
}
/* Search Container */
.search-container {
    margin: 20px auto;
    max-width: 500px;
    width: 100%;
}
.search-box {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--gray-medium);
    border-radius: 4px;
    font-size: 16px;
    font-family: var(--font-primary);
    transition: var(--transition);
}
.search-box:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(222, 141, 222, 0.2);
    outline: none;
}
/* Item Link */
.item-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-family: var(--font-primary);
    transition: var(--transition);
}
.item-link:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}
/* Dynamic Filters */
#dynamic-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
/* Filter Container Adjustments */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}
/* Active Filter Button */
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(222, 141, 222, 0.3);
}
/* Collection Filter Section */
.collection-filter {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 5%;
    margin-bottom: 20px;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .search-container {
        max-width: 100%;
        padding: 0 20px;
    }
    .filter-container {
        margin-left: 0;
        justify-content: center;
    }
    .filter-btn {
        margin-left: 5px;
        margin-right: 5px;
    }
    .loading-indicator {
        padding: 30px 20px;
    }
}
@media (max-width: 576px) {
    .spinner {
        width: 30px;
        height: 30px;
    }
    .retry-button {
        padding: 6px 12px;
        font-size: 14px;
    }
    .search-box {
        padding: 8px 12px;
        font-size: 14px;
    }
}
/* Events Page */
.center-title p{
    font-size: 2rem;
    margin: 75px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 40px;
}
.center-title p::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px 0 0 18px; /* Aligns the line to the left */
}
.events-grid {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0px;
  padding: 0 1rem 3rem 1rem;
}
.events-grid {
    padding: 80px 5%;
    padding-top: 0px;
}
.event-content {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    margin-bottom: 30px;
    background-color: var(--light-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}
.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 20px;
    min-width: 100px;
}
.day {
    font-size: 2rem;
    font-weight: 700;
}
.month {
    font-size: 1.2rem;
    font-weight: 500;
}
.event-title {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.8rem;
    font-weight: 1000;
}
.event-info {
    padding: 20px;
    flex-grow: 1;
}
.event-price {
    margin-bottom: 15px;
}
.view-all {
    display: block;
    margin: 30px auto 0;
    text-align: center;
    max-width: 200px;
}
/* Contact Page*/
/* Contact info Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 80px 5%;
}
.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}
.contact-info,
.map-section {
  flex: 1 1 100%; /* default to 100% width on small screens */
}

@media (min-width: 768px) {
  .contact-info,
  .map-section {
    flex: 1 1 45%;
  }
}

.info-item {
    margin-bottom: 30px;
}
.info-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}
/* Social Media Icons Section */
.social-links-section h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}
.social-media-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.social-media-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.social-media-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
/* Individual Social Media Icon Styles */
.social-media-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.social-media-icon.facebook {
    background-color: #3b5998;
}
.social-media-icon.whatsapp {
    background-color: #25D366; 
}
/* Map Section */
.map-section {
    padding: 50px 5% 80px;
    background-color: var(--light-color);
    width: auto;
}
.map-placeholder {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.map-placeholder iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.map-section h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}
.map-container {
    max-width: 800px;
    margin: 0 auto;
    height: 400px;
    background-color: var(--gray-medium);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.map-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--gray-dark);
    width: 100%;
}


/* FAQ Section */
.faq-section {
    padding: 80px 5%;
}
.faq-section h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}
.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}
.faq-item {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}
.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}
/* Responsive Styles */
@media (max-width: 992px) {
    .about-preview,
    .about-content,
    .join-content,
    .custom-orders,
    .workshop-info,
    .contact-content {
        grid-template-columns: 1fr;
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
    }
    .about-image,
    .join-image,
    .custom-image,
    .workshop-image {
        height: 300px;
    }
    .faq-container {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .logo-image {
        width: 60px;
        height: 60px;
    }
    .hero-content h2 {
        font-size: 2.5rem;
    }
    .page-header h2 {
        font-size: 2.5rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .social-media-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}
@media (max-width: 576px) {
    .logo-image {
        width: 50px;
        height: 50px;
    }
    .site-title {
        font-size: 1.8rem;
    }
    .hero-content h2 {
        font-size: 2rem;
    }
    .featured h2,
    .about-text h2,
    .upcoming-events h2,
    .page-header h2,
    .about-text h3,
    .join-text h3,
    .opportunities h3,
    .application-form h3,
    .events-calendar h3,
    .workshop-text h3,
    .past-events h3,
    .contact-info h3,
    .contact-form h3,
    .map-section h3,
    .faq-section h3 {
        font-size: 1.8rem;
    }
    .event {
        flex-direction: column;
    }
    .event-date {
        padding: 10px;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    .hero-badge {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    .social-media-icons {
         justify-content: flex-start;
    }
    .contact-info, 
    .contact-form {
        text-align: left;
        align-items: left;
    }
    .info-item {
        padding: 0 10px;
    }
    .form-group label {
        text-align: left;
    }
}