:root {
    --primary-color: #055759;
    --secondary-color: #7fb069;
    --accent-color: #d4a574;
    --warm-orange: #e67e22;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-cream: #fefefe;
    --white: #ffffff;
    --shadow-soft: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-hover: 0 15px 50px rgba(0,0,0,0.15);
    --font-title: 'Libre Baskerville', serif;
    --font-subtitle: 'Inter', sans-serif;
    --font-base: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-base);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    overflow-x: hidden;
}

.headline-font {
    font-family: var(--font-title);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 2rem;
    color: var(--primary-color);
    text-decoration: none;
    font-family: var(--font-title);
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.hamburger {
    display: none;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
    flex-direction: column;
    justify-content: space-between;
}
.hamburger span {
    background: var(--white);
    height: 3px;
    width: 100%;
    transition: all 0.3s ease;
}
.navbar.stick .hamburger span {
    background: var(--primary-color);
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -5px);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
    z-index: 1000;
    flex-direction: column;
}
.overlay.active {
    transform: translateY(0);
}
.overlay ul {
    list-style: none;
    padding: 0;
    text-align: center;
}
.overlay ul li {
    margin: 20px 0;
}
.overlay ul li a {
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: url('images/hero.jpg');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color: #fff4e2;
    background-size: contain;
    color: var(--primary-color);
    padding: 140px 0 120px 0;
    position: relative;
    overflow: hidden;
    position: relative;
}

.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="20" cy="20" r="1" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="white" opacity="0.1"/><circle cx="40" cy="70" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    animation: rotate 20s linear infinite;
}

.hero::after {
    background: url('images/hero_right.png');
    background-position: center bottom;
    background-repeat: repeat-x;
    background-size: contain;
    content: '';
    position: absolute;
    width: 200px;
    right: -200px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-wrapper {
    border-radius: 20px;
    display: block;
    max-width: 600px;
    padding: 15px;
    background: rgba(255, 244, 226, 0.8);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-left: 15px;
    margin-bottom: 0;
    color: var(--primary-color);
    font-family: var(--font-title);
    line-height: 1.2;
}

.hero .subtitle {
    font-family: var(--font-subtitle);
    color: var(--warm-orange);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 500;
}

.hero .subtitle em {
    color: var(--primary-color);
}

.hero p {
    font-family: var(--font-base);
    font-size: 1rem;
    margin-bottom: 0;
    opacity: 0.9;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(255, 244, 226, 0.1);
}

.btn-hero {
    background: linear-gradient(45deg, var(--accent-color), var(--warm-orange));
    border: none;
    padding: 15px 35px;
    margin-top: 30px;
    margin-left: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
    text-decoration: none;
    color: var(--white);
    display: inline-block;
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 165, 116, 0.6);
    color: var(--white);
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-hero:hover::before {
    left: 100%;
}

/* Gift Section - New */
.gift-hero {
    padding: 100px 0;
    background-image: url('images/sfondo.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.gift-hero::after {
    content: '';
    background: linear-gradient(180deg, #fdffff 0%, #f4fcf4 100%);
    display: block;
    opacity: 0.92;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gift-hero .container {
    position: relative;
    z-index: 2;
}

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

.gift-hero h2 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-family: var(--font-title);
    text-align: center;
}

.gift-highlight {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gift-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--warm-orange), var(--secondary-color));
}

.gift-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    font-family: var(--font-title);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: var(--font-title);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(127, 176, 105, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-icon img {
  width: 68px;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: var(--primary-color);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Community Section - New */
.community {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8f5e8 100%);
}

.community-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
}

.testimonial {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent-color);
    position: absolute;
    top: -36px;
    left: -34px;
    font-family: var(--font-title);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.testimonial-author img.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author a {
    color: var(--primary-color);
    text-decoration: none;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--white);
}

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

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.about .highlight-content .icon {
  width: 32px;
  margin-right: 20px;
}

.highlight-box {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: url(images/comunity.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>') repeat;
    animation: rotate 20s linear infinite;
}

.highlight-box::after {
    content: "";
    display: block;
    opacity: 0.92;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.highlight-content {
    position: relative;
    z-index: 2;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact .icon {
    width: 64px;
    height: 64px;
    margin-right: 20px;
    margin-top: 20px;
    vertical-align: top;
}

.contact-info {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.contact-item {
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-right: 1rem;
    width: 50px;
    text-align: center;
}

.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.social-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #00757b;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(139, 90, 43, 0.1);
    border: 2px solid transparent;
}

.social-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 90, 43, 0.2);
    border: 2px solid #8b5a2b;
}

.social-button.facebook {
    color: #1877f2;
}

.social-button.instagram {
    color: #bc1888;
}


.social-button.facebook:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

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

.social-button i {
    font-size: 1.2rem;
}

.social-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color), #1a3a0f);
    color: var(--white);
    padding: 60px 0 40px 0;
    text-align: center;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer h3 {
    font-family: var(--font-title);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.8rem;
    margin: 0 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .navbar-toggler,
    #navbarNav {
        display: none !important;
    }

    .hamburger {
        display: flex;
    }

}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    .navbar-brand {
        font-size: 1.6rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .gift-hero h2 {
        font-size: 2.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    .navbar-toggler,
    #navbarNav {
        display: none !important;
    }

    .hamburger {
        display: flex;
    }

}

/* CTA Buttons */
.btn-cta {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(45, 80, 22, 0.3);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.4);
    color: var(--white);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.no-scroll {
    overflow: hidden;
    height: 100vh;
}