﻿/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    background: url('../Images/hero-bg.jpg') center/cover no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: #fff;
    animation: fadeIn 2s ease-in-out;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ff7da8;
}

.hero-content p {
    font-size: 1.5rem;
    color: #ffd9e6;
}

/* ===== PRODUCT GRID ===== */
.product-section {
    text-align: center;
    padding: 80px 50px;
    background-color: #fffafc;
}

.section-title {
    font-size: 2.5rem;
    color: #e91e63;
    margin-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--card-color);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
}

.product-card img {
    width: 100%;
    height: 250px;
    border-radius: 15px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card h3 {
    margin-top: 15px;
    font-size: 1.5rem;
    color: #222;
}

.product-card p {
    color: #555;
    margin-top: 10px;
}

/* ===== RESEARCH SECTION ===== */
.research-section {
    background: linear-gradient(135deg, #ffe0f0, #fff);
    padding: 80px 50px;
}

.research-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.research-text {
    flex: 1;
    min-width: 300px;
}

.research-text h2 {
    font-size: 2.5rem;
    color: #d81b60;
}

.research-text p {
    font-size: 1.1rem;
    margin: 20px 0;
    color: #444;
}

.leaflet-btn {
    background-color: #d81b60;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s;
}

.leaflet-btn:hover {
    background-color: #ad1457;
}

.research-image img {
    width: 420px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ===== MODAL ===== */
.leaflet-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.leaflet-modal img {
    margin: auto;
    display: block;
    width: 60%;
    border-radius: 10px;
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 45px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    font-weight: bold;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ===== Research Section ===== */
.research-section {
    background: linear-gradient(135deg, #f8d7da, #fff0f5);
    padding: 60px 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.research-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.research-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

    .research-text h2 {
        color: #b30059;
        font-size: 2em;
        margin-bottom: 15px;
    }

    .research-text p {
        color: #333;
        margin-bottom: 20px;
        line-height: 1.6;
    }

.leaflet-btn {
    background: #b30059;
    color: #fff;
    border: none;
    padding: 12px 25px;
    margin-right: 15px;
    cursor: pointer;
    border-radius: 25px;
    font-size: 16px;
    transition: background 0.3s ease, transform 0.3s ease;
}

    .leaflet-btn:hover {
        background: #e60073;
        transform: scale(1.05);
    }

.research-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* ===== Modal Design ===== */
.leaflet-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto; /* enable scroll */
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.leaflet-content {
    text-align: center;
    padding: 20px;
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
}

.close-btn {
    position: fixed;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2100;
}

    .close-btn:hover {
        color: #ff66a3;
    }
