* {
    margin: 0;
    padding: 0; 
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

:root {
    --shonil-pink: #ff85a2;
    --shonil-red: #ff4d6d;
    --shonil-blue: #7fb3d5;
    --soft-white: #fff5f7;
}

body {
    background-color: var(--soft-white);
    color: #444;
    overflow-x: hidden;
}

#intro-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(135deg, var(--shonil-pink), var(--shonil-blue));
    display: flex; 
    justify-content: center; 
    align-items: center;
    z-index: 10000;
    animation: fadeOut 1s ease forwards 2.5s;
}

.intro-text {
    color: white; 
    font-size: 3rem; 
    font-weight: 800; 
    letter-spacing: 5px;
    animation: pofuduk 2s infinite ease-in-out;
}

@keyframes pofuduk {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes fadeOut { to { opacity: 0; visibility: hidden; } }

.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px); 
    z-index: 1000;
}

.logo { 
    font-weight: 700; 
    color: var(--shonil-red); 
    letter-spacing: 1px; 
}

.dropbtn {
    background: none; 
    border: none;
    font-size: 1rem; 
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: 0.3s;
}

.dropdown { 
    position: relative; 
    display: inline-block; 
}

.dropdown-content {
    display: none; 
    position: absolute;
    background: white; 
    min-width: 160px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-radius: 10px; 
    right: 0;
}

.dropdown-content a {
    color: #555;
    padding: 12px 16px;
    text-decoration: none; 
    display: block;
}

.dropdown-content :hover{ 
    background-color: #e1306c; 
    padding: 12px 16px; 
    color: #000000;
}

.dropdown:hover .dropdown-content {
    display: block; 
    background-color: #ffb0bf;
}

.filter-container {
    display: flex; 
    justify-content: center;
    gap: 10px; 
    margin: 100px 0 30px;
    padding: 0 5%;
    overflow-x: auto; 
    scrollbar-width: none;
}

.filter-container::-webkit-scrollbar { display: none; }

.filter-btn {
    padding: 8px 20px; 
    border: 2px solid var(--shonil-pink);
    background: transparent; 
    color: var(--shonil-pink);
    border-radius: 20px; 
    cursor: pointer; 
    white-space: nowrap; 
    transition: 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--shonil-pink); color: white;
}

.product-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px; 
    padding: 0 5%;
}

.product-card {
    background: white; 
    border-radius: 15px; 
    padding: 10px;
    transition: 0.4s;
    cursor: pointer; 
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(253, 101, 0, 0.822); 
}

.product-card::after {
    content: "İncele";
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--shonil-pink);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-card img { 
    width: 100%; 
    border-radius: 10px; 
    aspect-ratio: 1/1; 
    object-fit: cover; 
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
    border-radius: 25px;
    position: relative;
    padding: 30px; 
    animation: modalOpen 0.5s;
}

@keyframes modalOpen {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute; 
    right: 25px; 
    top: 15px;
    font-size: 30px; 
    cursor: pointer; 
    color: var(--soft-purple);
}

.modal-body { 
    display: flex; 
    gap: 30px; 
    flex-wrap: wrap; 
}

#modalImage { 
    width: 100%; 
    max-width: 350px; 
    border-radius: 15px; 
}

.modal-info { 
    flex: 1;
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}

.buy-btn {
    display: inline-block; 
    padding: 15px;
    background:#db57be; 
    color: white;
    text-decoration: none; 
    border-radius: 12px;
    text-align: center;
    margin-top: 20px; 
    font-weight: 700;
}

.buy-btn:hover{ 
    background-color: #a0047ee9;
}


.footer { 
    padding: 30px 10px; 
    text-align: center; 
    background: white; 
    margin-top: 50px; 
}

.footer p { 
    font-size: 0.8rem; 
    margin-bottom: 15px; 
}

.social-links { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
}

.social-links a {
    font-size: 1.5rem; 
    color: #555; 
    transition: 0.3s; 
}

.social-links a:hover { transform: translateY(-8px); }
.social-links a.li:hover { color: #0077b5; }
.social-links a.gh:hover { color: #333; }
.social-links a.ig:hover { color: #e1306c; }
.social-links a.wa:hover { color: #25d366; }

@media (max-width: 768px) {
    
    .product-grid { grid-template-columns: repeat(3, 1fr) !important;  gap: 8px !important; padding: 0 8px !important;  }
    
    .product-card { padding-bottom: 25px !important;}

    .product-card h3 { font-size: 0.55rem !important; }

    .product-card p { font-size: 0.65rem !important;margin-bottom: 5px; }
    
    .product-card::after {font-size: 0.5rem;  bottom: 3px;}
}
