/* Packages */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}


body {
    background: linear-gradient(rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.95)),
                url('../images/Aperture.png') no-repeat center center fixed;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    height: 100vh;
    margin: 0;
}


header {
    padding: 20px;
    color: #cb962e;
    position: relative;
}


header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    color: #ffffff;
}


.hero-logo {
    width: 220px;
    /* Adjust the size of the logo */
    height: auto;
}

.back-to-home-btn {
    position: absolute;
    top: 30px;
    left: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    color: #cb962e;
    border: 2px solid #cb962e;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    z-index: 100;
}

.back-to-home-btn:hover {
    background: #cb962e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(203, 150, 46, 0.4);
}

.back-to-home-btn i {
    font-size: 1rem;
}


/* Updated Card Styles - Replace your existing .card and related styles */

.container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.card {
    background: rgba(119, 61, 2, 0.3);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* This pushes button to bottom */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

.card h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    border-bottom: 2px dashed #fff;
    padding-bottom: 10px;
    flex-shrink: 0; /* Prevents title from shrinking */
}

.card ul {
    list-style: none;
    margin: 20px 0;
    flex-grow: 1; /* Takes up available space */
    display: flex;
    flex-direction: column;
}

.card ul li:not(:last-child) {
    margin-bottom: 8px;
    padding: 5px 0;
}

.card ul li:last-child {
    margin-top: auto; /* Pushes button to bottom */
}

.card button {
    display: block;
    width: 100%;
    margin: 10px 0 0 0; /* Remove bottom margin */
    padding: 12px;
    background: rgba(0, 0, 0, 0.5);
    color: #cb962e;;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevents button from shrinking */
}

.card button:hover {
    background: #e6b800;
    border-color: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(230, 184, 0, 0.3);
}

 /* Portfolio Section Styles */
        .portfolio-section {
            margin: 60px auto;
            max-width: 1200px;
            padding: 0 20px;
        }

        .portfolio-title {
            color: #cb962e;
            font-size: 2.5rem;
            margin-bottom: 40px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            text-align: center;
        }

        .package-showcase {
            margin-bottom: 50px;
            background: rgba(203, 111, 16, 0.15);
            border-radius: 15px;
            padding: 30px;
            border: 2px solid rgba(203, 150, 46, 0.3);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .package-showcase:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
        }

        .package-showcase-name {
            color: #5e3f03;
            font-size: 1.8rem;
            font-weight: bold;
            margin-bottom: 25px;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
            text-align: center;
        }

        /* Improved Gallery Styles */
       .image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-content: center;
    padding: 20px 0;
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 250px;
    background: rgba(203, 150, 46, 0.4);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.image-placeholder:hover {
    transform: scale(1.15);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(203, 150, 46, 0.4);
    border-color: #cb962e;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 10px;
    display: block;
    transition: transform 0.4s ease;
}

.image-placeholder:hover img {
    transform: scale(1.05);
}

/* Enhanced face-focusing for different orientations */
.image-placeholder:nth-child(odd) img {
    object-position: center 5%;
}

.image-placeholder:nth-child(even) img {
    object-position: center 10%;
}

/* Keep your existing background variations */
.image-placeholder:nth-child(1) { background: rgba(53, 38, 8, 0.5); }
.image-placeholder:nth-child(2) { background: rgba(51, 35, 2, 0.6); }
.image-placeholder:nth-child(3) { background: rgba(54, 37, 3, 0.7); }
.image-placeholder:nth-child(4) { background: rgba(43, 29, 2, 0.8); }

        /* Special Portrait Styling for Pregnancy Section Only */
        .pregnancy-gallery .image-placeholder {
            aspect-ratio: 3 / 4;
            min-height: 350px;
            height: auto;
            background: rgba(203, 150, 46, 0.15);
            border: 3px solid rgba(203, 150, 46, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
        }

        .pregnancy-gallery .image-placeholder:hover {
            transform: scale(1.08);
        }

        .pregnancy-gallery .image-placeholder img {
            object-fit: contain;
            object-position: center;
        }

        .pregnancy-gallery .image-placeholder:hover img {
            transform: scale(1.03);
        }

        /* Override nth-child positioning for pregnancy gallery */
        .pregnancy-gallery .image-placeholder:nth-child(odd) img,
        .pregnancy-gallery .image-placeholder:nth-child(even) img {
            object-position: center;
        }

        /* Package Selection Button */
        button {
            display: block;
            margin: 30px auto 0;
            padding: 15px 40px;
            background: transparent;
            color: #cb962e;
            border: 2px solid #cb962e;
            border-radius: 8px;
            font-weight: bold;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        button:hover {
            background: #cb962e;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(203, 150, 46, 0.4);
        }

        /* Package Selector (Dropdown Container) */
        .package-selector {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-top: 30px;
            align-items: center;
        }

        .package-dropdown {
            width: 100%;
            max-width: 400px;
            padding: 12px 20px;
            background: rgba(0, 0, 0, 0.5);
            color: #cb962e;
            border: 2px solid #cb962e;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }

        .package-dropdown:hover {
            background: rgba(203, 150, 46, 0.2);
            box-shadow: 0 4px 12px rgba(203, 150, 46, 0.3);
        }

        .package-dropdown:focus {
            outline: none;
            border-color: #e6b800;
            box-shadow: 0 0 10px rgba(203, 150, 46, 0.5);
        }

        .package-dropdown option {
            background: rgba(0, 0, 0, 0.95);
            color: #cb962e;
            padding: 10px;
        }

        .package-selector button {
            margin: 0;
            max-width: 400px;
            width: 100%;
        }

/* Responsive Design */
/* Tablet - 2 columns */
@media (max-width: 992px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Mobile - 1 column */
@media (max-width: 768px) {
    .image-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }

    .image-placeholder {
        height: 200px;
    }

    .image-placeholder:hover {
        transform: scale(1.08);
    }

    .package-showcase-name {
        font-size: 1.5rem;
    }

    .portfolio-title {
        font-size: 2rem;
    }

    .container {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .card {
        margin-bottom: 0;
    }

    .back-to-home-btn {
        position: static;
        display: inline-flex;
        margin: 10px auto;
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .package-dropdown {
        font-size: 0.9rem;
        padding: 10px 15px;
    }

    .package-selector button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    /* Pregnancy gallery responsive */
    .pregnancy-gallery .image-placeholder {
        min-height: 300px;
        padding: 8px;
    }

    .pregnancy-gallery .image-placeholder:hover {
        transform: scale(1.05);
    }
}

@media (max-width: 480px) {
    .image-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .image-placeholder {
        height: 180px;
    }

    .image-placeholder:hover {
        transform: scale(1.05);
    }

    .package-showcase {
        padding: 20px;
    }

    .card {
        padding: 15px;
        font-size: 0.9rem;
    }

    .package-dropdown {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .package-selector button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Pregnancy gallery responsive */
    .pregnancy-gallery .image-placeholder {
        min-height: 280px;
        padding: 6px;
    }

    .pregnancy-gallery .image-placeholder:hover {
        transform: scale(1.03);
    }
}  
    
        /* back to top arrow */
#back-to-top {
  position: fixed;
  bottom: 60px;
  right: 20px;
  display: none;
  z-index: 1000;
  cursor: pointer;
}

#back-to-top img {
  width: 50px;      /* Adjust size as needed */
  height: 50px;
  transition: opacity 0.3s ease;
  opacity: 0.8;
}

#back-to-top:hover img {
  opacity: 1;
}
@media(max-width:768px){
   
     .whatsapp-button {
       position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;

  cursor: pointer;
}



}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  padding: 16px;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
   width: 50px;   
  height: 50px;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}
