@import url('./fonts.css');

:root {
    --primary-color: #166e22;
    --primary-dark: #0e5016;
    --primary-light: #2a8c36;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --border-color: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: Lora-Regular;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Carousel Styles */
.carousel {
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.carousel-item {
    height: 450px;
    overflow: hidden;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.85);
    transition: transform 10s ease;
}

.carousel-item.active img {
    transform: scale(1.1);
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    bottom: 50%;
    transform: translateY(50%);
    backdrop-filter: blur(5px);
}

.carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: var(--transition);
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.carousel-indicators button.active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(22, 110, 34, 0.3);
}

.btn-outline-secondary {
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline-secondary:hover {
    transform: translateY(-3px);
}
/* Product Filter */
.product-filter {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    background: none;
    border: none;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark-gray);
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(22, 110, 34, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .carousel-item {
        height: 350px;
    }

    .carousel-caption {
        padding: 1.5rem;
    }

    .carousel-caption h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .carousel-item {
        height: 250px;
    }

    .carousel-caption {
        padding: 1rem;
        bottom: 10px;
        transform: none;
        max-width: 90%;
    }

    .carousel-caption h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .carousel-caption p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .carousel-caption .btn {
        font-size: 0.875rem;
        padding: 0.375rem 1rem;
    }
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.fade-in.show {
    opacity: 1;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-in-left.show {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-in-right.show {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.zoom-in.show {
    opacity: 1;
    transform: scale(1);
}


.collection-banner {
    position: relative;
    /* height: 60vh; */
    margin-bottom: 2rem;
}

.collection-banner .banner-image {
    height: 70vh;
    object-fit: cover;
    padding: 1rem;
}

.collection-banner .collection-text {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.collection-banner {
    position: relative;
    overflow: hidden;
}

.collection-banner img {
    transition: opacity 0.3s ease-in-out;
}

.collection-text {
    font-family: Brown-sugar;
    position: absolute;
    top: 50%;
    opacity: 0.8;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 6rem !important;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    border-radius: 5px;
}

.collection-banner {
    position: relative;
    overflow: hidden;
}

.collection-banner img {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease-in-out;
}

.collection-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 6rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    border-radius: 5px;
}

@media (max-width: 1200px) {
    .collection-text {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .collection-text {
        font-size: 5rem !important;
    }
}

@media (max-width: 576px) {
    .collection-text {
        font-size: 4rem !important;
        padding: 5px 10px;
    }

    .founder_pick .image-container {
        height: max-content;
    }
}

@media (max-width: 450px) {
    .collection-text {
        font-size: 3rem !important;
        padding: 0px;
    }
}

@media (max-width: 768px) {
    .collection-disc {
        padding: 30px 15px;
    }

    .collection-disc h4 {
        font-size: 1.1rem;
    }

    .collection-disc p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .collection-disc {
        padding: 20px 10px;
    }

    .collection-disc h4 {
        font-size: 1rem;
    }

    .collection-disc p {
        font-size: 0.9rem;
    }
}

@media(min-width: 1400px) {
    .collection-banner .banner-image {
        height: 75vh;
    }

    .collection-disc {
        max-width: 85%;
    }
}



@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandLine {
    0% {
        width: 0;
    }

    100% {
        width: 60px;
    }
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.collection-disc {
    font-family: Lora-regular;
    background-color: #f8f9fa;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1200px;
    width: 90%;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease-out 1s forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Hover effect for collection description */
.collection-disc:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.collection-disc h4 {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    opacity: 0;
    animation: floatIn 0.8s ease-out 1.3s forwards;
}

.collection-disc p {
    font-size: 1rem;
    color: #555;
    text-align: justify;
    margin: 0;
    opacity: 0;
    animation: floatIn 0.8s ease-out 1.5s forwards;
}

.collection-disc::before {
    content: "";
    display: block;
    width: 0;
    height: 4px;
    background-color: #166e22;
    margin: 0 auto 20px;
    border-radius: 2px;
    animation: expandLine 0.8s ease-out 1.2s forwards;
}

/* Additional smooth scroll animation */
html {
    scroll-behavior: smooth;
}

/* Subtle fade-in animation for the entire page */
body {
    animation: pageLoad 0.5s ease-out;
}

@keyframes pageLoad {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .collection-disc {
        padding: 30px 15px;
    }

    .collection-disc h4 {
        font-size: 1.1rem;
    }

    .collection-disc p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .collection-disc {
        padding: 20px 10px;
    }

    .collection-disc h4 {
        font-size: 1rem;
    }

    .collection-disc p {
        font-size: 0.9rem;
    }
}

@media(min-width: 1400px) {
    .collection-disc {
        max-width: 85%;
    }
}

