:root {
    /* Colors extracted from the logo */
    --color-pink: #F0A7B8;
    --color-light-pink: #FCEEF1;
    --color-blue: #91C8E4;
    --color-light-blue: #E7F3FB;
    --color-beige: #FCF8F2;
    --color-white: #FFFFFF;
    
    /* Text Colors */
    --color-dark: #2C3E50;
    --color-gray: #6C7A89;
    
    /* Shadows */
    --shadow-sm: 0 4px 10px rgba(0,0,0,0.03);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.05);
    --shadow-hover: 0 15px 35px rgba(145, 200, 228, 0.25);
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-beige);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--color-dark);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

@keyframes blob {
    0%, 100% { transform: scale(1) translate(0, 0); }
    33% { transform: scale(1.1) translate(30px, -50px); }
    66% { transform: scale(0.9) translate(-20px, 20px); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-beige) 100%);
    z-index: 1;
}

/* Decorative Blobs for Hero Background */
.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
    border-radius: 50%;
    animation: blob 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.pink-blob {
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: var(--color-pink);
    opacity: 0.3;
}

.blue-blob {
    bottom: 10%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: var(--color-blue);
    opacity: 0.2;
    animation-delay: -5s;
}

.hero-content {
    text-align: center;
    max-width: 650px;
    width: 100%;
    z-index: 2;
    background: rgba(255, 255, 255, 0.65);
    padding: 4rem 2.5rem;
    border-radius: 32px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.04);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.logo-container {
    margin-bottom: 1.5rem;
}

.logo {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.08));
    animation: floating 5s ease-in-out infinite;
}

.headline {
    font-size: 2.7rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(to right, var(--color-blue), var(--color-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    letter-spacing: -0.5px;
}

.description {
    font-size: 1.15rem;
    color: var(--color-gray);
    margin-bottom: 3rem;
    font-weight: 500;
}

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--color-pink), var(--color-blue));
    color: white;
    box-shadow: 0 10px 20px rgba(240, 167, 184, 0.35);
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, var(--color-blue), var(--color-pink));
    z-index: -1;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 25px rgba(145, 200, 228, 0.45);
}

.btn-primary:hover::before {
    opacity: 1;
}

/* Links Section */
.links-section {
    padding: 7rem 2rem;
    background-color: var(--color-beige);
    position: relative;
}

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

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3.5rem;
    color: var(--color-dark);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 20%;
    width: 60%;
    height: 4px;
    background: linear-gradient(to right, var(--color-blue), var(--color-pink));
    border-radius: 4px;
}

.links-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.link-card {
    display: flex;
    align-items: center;
    background-color: var(--color-white);
    padding: 1.2rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    color: var(--color-dark);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

/* Active Hover Gradients per Card */
.link-card.facebook::before { background: linear-gradient(to left, transparent, rgba(24, 119, 242, 0.08)); }
.link-card.tiktok::before { background: linear-gradient(to left, transparent, rgba(0, 0, 0, 0.06)); }
.link-card.whatsapp::before { background: linear-gradient(to left, transparent, rgba(37, 211, 102, 0.08)); }
.link-card.location::before { background: linear-gradient(to left, transparent, rgba(234, 67, 53, 0.08)); }

.link-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255,255,255,1);
}

.link-card:hover::before {
    opacity: 1;
}

.icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1.8rem;
    font-size: 1.8rem;
    background-color: var(--color-light-pink);
    color: var(--color-pink);
    transition: var(--transition);
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.8), 0 5px 15px rgba(0,0,0,0.05);
}

/* Specific Icon Colors */
.link-card.facebook .icon-wrapper { background-color: #E8F1FC; color: #1877F2; }
.link-card.tiktok .icon-wrapper { background-color: #F0F0F0; color: #000000; }
.link-card.whatsapp .icon-wrapper { background-color: #E3F8EB; color: #25D366; }
.link-card.location .icon-wrapper { background-color: #FCECEB; color: #EA4335; }


.link-card:hover .icon-wrapper {
    transform: scale(1.15) rotate(8deg);
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.8), 0 8px 20px rgba(0,0,0,0.1);
}

.link-text {
    flex-grow: 1;
    font-size: 1.35rem;
    font-weight: 700;
}

.link-card::after {
    content: '\f104'; /* FontAwesome left arrow, RTL */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--color-pink);
    font-size: 1.4rem;
    transition: var(--transition);
    opacity: 0.5;
}

.link-card:hover::after {
    transform: translateX(-15px);
    color: var(--color-blue);
    opacity: 1;
}

/* Footer */
footer {
    text-align: center;
    padding: 2.5rem;
    background-color: var(--color-white);
    color: var(--color-gray);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--color-pink), var(--color-blue));
    opacity: 0.5;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero {
        padding: 1.5rem;
    }
    
    .hero-content {
        padding: 2.5rem 1.2rem;
        border-radius: 20px;
    }

    .logo {
        max-width: 180px;
    }

    .headline {
        font-size: 2rem;
    }
    
    .description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .links-section {
        padding: 4rem 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }

    .link-card {
        padding: 1rem 1.2rem;
        border-radius: 16px;
    }

    .link-text {
        font-size: 1.1rem;
    }
    
    .icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-left: 1rem;
    }
}

/* Extra Small Devices (Standard Phones) */
@media (max-width: 480px) {
    .hero-content {
        padding: 2rem 1rem;
    }

    .headline {
        font-size: 1.7rem;
        letter-spacing: 0;
    }
    
    .description {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1.05rem;
        width: 100%;
    }
    
    .link-text {
        font-size: 1rem;
    }
    
    .icon-wrapper {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-left: 0.8rem;
    }
    
    /* Scale down blobs to prevent overflow issues */
    .pink-blob {
        width: 250px;
        height: 250px;
    }
    
    .blue-blob {
        width: 300px;
        height: 300px;
    }
}

/* Very Small Devices (e.g. iPhone SE, old Androids) */
@media (max-width: 360px) {
    .headline {
        font-size: 1.5rem;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .link-card {
        padding: 0.8rem 1rem;
    }
    
    .link-text {
        font-size: 0.95rem;
    }

    .icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-left: 0.6rem;
    }
}

