* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #000, #111);
    color: #fff;
}

/* HEADER */
header {
    text-align: center;
    padding: 20px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
}

.logo {
    max-width: 200px;
}

.insta-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.insta-btn:hover {
    background: rgba(255,255,255,0.2);
}

/* PACKAGES SECTION */
.packages {
    width: 95%;
    margin: 50px 2.5%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* CARD LAYOUT */
.card {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 30px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(14px);
    border-radius: 25px;
    overflow: hidden;
    transition: 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
}

/* IMAGE LEFT */
.card img {
    width: 20%;
    height: auto;
    object-fit: cover;
}

/* CONTENT RIGHT */
.card-content {
    width:15%;
    padding: 25px;
}

.card-content p {
    font-size: 25px;
    line-height: 1.5;
}

.card-content h2 {
    font-size: 55px;
    margin-bottom: 10px;
    white-space: nowrap;
}

.price {
    font-size: 18px;
    margin: 14px 0;
    color: #ccc;
}

select {
    width: 100%;
    padding: 8px;
    font-size: 15px;
    margin-bottom: 15px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
}

button {
    padding: 10px 18px;
    border: none;
    border-radius: 10px;
    background: white;
    color: black;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #ddd;
}

/* FLOATING CART */
.cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 20px;
    width: 250px;
    max-height: 350px;
    overflow-y: auto;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

    .card {
        flex-direction: column;
    }

    .card img {
        width: 100%;
        height: 200px;
    }

    .card-content {
        width: 100%;
        padding: 20px;
    }

    /* FIX OVERLAP HERE */
    .card-content h2 {
        font-size: 28px;   /* smaller for mobile */
        white-space: normal;  /* allow wrapping again */
    }

    .card-content p {
        font-size: 18px;
    }

    .price {
        font-size: 16px;
    }
}

/* Portfolio Button */
.portfolio-btn {
    display: inline-block;
    margin-top: 10px;
    margin-left: 10px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.portfolio-btn:hover {
    background: rgba(255,255,255,0.2);
}

/* Portfolio Overlay */
.portfolio-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.portfolio-container {
    width: 90%;
    height: 90%;
    position: relative;
}

.portfolio-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 28px;
    cursor: pointer;
    color: white;
}