/* ========================= */
/* 🌍 GLOBAL */
/* ========================= */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background: #fff;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* ========================= */
/* 🔝 HEADER */
/* ========================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #000;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-weight: 600;
    font-size: 18px;
}

.nav-links {
    display: flex;
    gap: 10px;
}

header nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 6px;
    transition: 0.2s;
}

header nav a:hover {
    background: rgba(255,255,255,0.1);
}

.nav-links .active {
    border-bottom: 2px solid #ff758c;
}

/* ========================= */
/* 🎯 BUTTON */
/* ========================= */
.btn {
    background: linear-gradient(135deg, #ff7eb3, #ff758c);
    padding: 10px 18px;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

/* ========================= */
/* 🎬 HERO */
/* ========================= */
.hero {
    height: 55vh;
    background: url('assets/hero.jpg') no-repeat center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 500px;
}

.hero h1 {
    font-size: 30px;
}

.hero p {
    font-size: 14px;
}

/* ========================= */
/* 📦 SERVICES */
/* ========================= */
.services {
    padding: 50px 20px;
    text-align: center;
}

.services h2 {
    font-size: 22px;
}

.service-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* ========================= */
/* 🧱 CARD */
/* ========================= */
.card {
    width: 180px;
    background: #fff;
    border-radius: 12px;
    text-align: center;
    padding-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
}

/* IMAGE */
.img-box {
    width: 100%;
    height: 110px;
    overflow: hidden;
    border-radius: 10px;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TEXT */
.card h2, .card h3 {
    font-size: 14px;
    margin: 8px 0;
}

.card p {
    font-size: 13px;
    color: #666;
}

/* ========================= */
/* 🖼️ GALLERY */
/* ========================= */
.gallery {
    padding: 40px 20px;
    background: #f8f8f8;
    text-align: center;
}

.gallery h2 {
    font-size: 22px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

/* ========================= */
/* 📞 CONTACT */
/* ========================= */
.contact {
    padding: 50px 20px;
    text-align: center;
}

.contact-form {
    max-width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.contact-form textarea {
    height: 100px;
    resize: none;
}

/* ========================= */
/* 📊 ADMIN PANEL */
/* ========================= */
.admin-container {
    display: flex;
    min-height: 100vh;
    background: #f5f6fa;
}

.sidebar {
    width: 220px;
    background: #000;
    color: white;
    padding: 20px;
}

.sidebar h2 {
    margin-bottom: 20px;
}

.sidebar a {
    display: block;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 8px;
    color: white;
    text-decoration: none;
    transition: 0.2s;
}

.sidebar a:hover {
    background: rgba(255,255,255,0.1);
}

.main {
    flex: 1;
    padding: 25px;
}

.cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.admin-card {
    flex: 1;
    min-width: 180px;
    background: white;
    padding: 18px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.admin-card h3 {
    font-size: 26px;
    color: #ff758c;
}

.admin-card p {
    font-size: 14px;
    color: #777;
}

/* ========================= */
/* 📄 PAGE HEADER */
/* ========================= */
.page-header {
    text-align: center;
    padding: 30px 15px;
}

.page-header h1 {
    font-size: 24px;
}

.page-header p {
    font-size: 14px;
    color: #777;
}

/* ========================= */
/* 🧩 GRID */
/* ========================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 900px;
    margin: auto;
}

/* ========================= */
/* 📱 MOBILE */
/* ========================= */
@media (max-width: 768px) {

    header {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        height: 45vh;
    }

    .hero h1 {
        font-size: 22px;
    }

    .card {
        width: 95%;
        max-width: 320px;
    }

    .service-grid {
        flex-direction: column;
        align-items: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        display: flex;
        justify-content: space-around;
    }

    .sidebar h2 {
        display: none;
    }
}

/* ========================= */
/* ⚡ FAST INTERACTIONS */
/* ========================= */
a, button {
    -webkit-tap-highlight-color: transparent;
}

.card:active {
    transform: scale(0.97);
}

.btn:active {
    transform: scale(0.95);
}
/* ACTIVE SIDEBAR LINK */
.sidebar .active {
    color: #ff758c;
}

/* DELETE BUTTON */
.delete-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    background: red;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
}

.delete-btn:hover {
    background: darkred;
}