/* PROPER - Custom Styles with Bootstrap */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: #E84393;
    overflow-x: hidden;
}

/* Navigation Styles */
.navbar {
    box-shadow: none;
    border-bottom: 1px solid white;
    min-height: auto;
    display: flex;
}

.navbar .container-fluid {
    display: flex;
    align-items: stretch;
}

.logo-wrapper, .menu-toggle-wrapper {
    align-self: stretch;
}

.logo-box {
    transition: transform 0.3s ease;
}

.logo-box:hover {
    transform: scale(1.05);
}

.nav-link {
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    background: transparent;
}

.header-image-wrapper {
    background: none;
    box-shadow: none;
    border: none;
}

.header-image-wrapper img {
    display: block;
}

.proper-box {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.proper-box:hover {
    transform: scale(1.05) !important;
}

/* Products Section */
.products-section {
    background-color: #E84393;
}

/* Flip Card */
.flip-card {
    perspective: 1000px;
    height: 500px;
    overflow: hidden;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 500px;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card-inner.flipped {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 500px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    top: 0;
    left: 0;
}

.flip-card-back {
    transform: rotateY(180deg);
}

.flip-card-image {
    transition: transform 0.6s ease;
}

.flip-card:hover .flip-card-image {
    transform: scale(1.08);
}

.plus-btn {
    transition: transform 0.3s ease;
    z-index: 10;
}

.plus-btn:hover {
    transform: scale(1.1);
}

/* Footer */
.main-footer {
    background-color: #1a1a2e;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-text {
        flex-direction: column !important;
    }
    
    .practice, .snacking {
        font-size: 2rem !important;
    }
    
    .proper {
        font-size: 3rem !important;
    }
    
    .product-card {
        min-height: 400px !important;
    }
}

@media (max-width: 576px) {
    .badge-custom {
        width: 50px !important;
        height: 50px !important;
        font-size: 0.8rem !important;
    }
    
    .package-logo h2 {
        font-size: 1.8rem !important;
    }
    
    .flavor-name {
        font-size: 1.5rem !important;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.product-card {
    animation: fadeIn 0.6s ease-out;
}

.product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.product-card:nth-child(2) {
    animation-delay: 0.2s;
}

.product-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #E84393;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #D63384;
}
