/* --- GLOBAL STYLES --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-pink: #ec407a;
    --deep-purple: #8e24aa;
    --gold-accent: #ffd700;
    --light-bg: #fff0f5;
    --text-dark: #2c3e50;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- THE IMAGE SAFETY RULE --- */
img {
    max-width: 100%;
    height: auto;
    display: block; 
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- NAVIGATION --- */
nav {
    background: white;
    padding: 0.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.2s;
}

.nav-links { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 600; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary-pink); }

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--deep-purple);
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(135deg, var(--deep-purple), var(--primary-pink));
    color: white;
    padding: 4rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.hero-text { flex: 1.2; }
.hero h1 { font-size: 2.8rem; margin-bottom: 1rem; line-height: 1.2; font-weight: 700; }
.hero p { font-size: 1.1rem; opacity: 0.9; max-width: 600px; }

.hero-img {
    flex: 1;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1 / 1; 
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    border: 5px solid white;
    transition: opacity 0.5s ease-in-out; /* Smooth transition for rotator */
}

/* --- HERO BUTTONS --- */
.hero-btns {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 180px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gold-accent);
    color: var(--deep-purple);
    border: 2px solid var(--gold-accent);
}

.btn-primary:hover {
    background: white;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--deep-purple);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* --- MAIN LAYOUT --- */
.container { max-width: 1100px; margin: 0 auto; padding: 4rem 20px; }

.features-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
}

.card { 
    background: white; 
    padding: 2.5rem; 
    border-radius: 20px; 
    box-shadow: var(--shadow); 
    border-top: 6px solid var(--primary-pink);
    transition: transform 0.3s ease;
}

.card:hover { transform: translateY(-5px); }

.card h3 { 
    margin-top: 0; 
    color: var(--deep-purple); 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

/* --- CONTACT ACTIONS (Footer Buttons) --- */
.contact-actions { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 1.5rem; 
    padding: 3rem 5%; 
    background: white; 
    text-align: center; 
}

.btn-icon { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 12px; 
    padding: 18px; 
    border-radius: 15px; 
    font-weight: 700; 
    text-decoration: none; 
    color: white; 
    border: none; 
    font-family: inherit; 
    font-size: 1.1rem; 
    cursor: pointer; 
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-icon:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-email { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.btn-phone { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.btn-instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }

/* --- MODAL STYLES --- */
.modal {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 40px 30px;
    border-radius: 25px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    animation: modalSlide 0.4s ease-out;
}

@keyframes modalSlide {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
    font-weight: bold;
    color: #ccc;
    cursor: pointer;
}

.close-btn:hover { color: var(--text-dark); }

.modal-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.modal-link {
    text-decoration: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: white;
    transition: opacity 0.2s;
}

.modal-link:hover { opacity: 0.9; }

.call-link { background-color: #f72585; }
.text-link { background-color: #7209b7; }

/* --- FOOTER --- */
footer { 
    background: var(--text-dark); 
    color: white; 
    text-align: center; 
    padding: 3rem; 
    margin-top: 4rem; 
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 992px) {
    .hero { flex-direction: column; text-align: center; padding: 3rem 5%; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { margin: 0 auto; }
    .hero-btns { justify-content: center; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }

    .nav-links {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        flex-direction: column;
        padding: 25px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-links.active { display: flex; }

    .contact-actions { grid-template-columns: 1fr; }
    
    .hero-img { max-width: 320px; }
}

@media (max-width: 480px) {
    .btn { width: 100%; }
    .hero-btns { flex-direction: column; }
}