/* Custom CSS Variables */
:root {
    --primary-color: #b2631e;
    --secondary-color: #24543b;
    --accent-color: #d4851f;
    --dark-green: #1a3d2e;
    --light-bg: #f8f9fa;
    --text-dark: #333;
    --black: #000;
    --text-light: #666;
    --white: #ffffff;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

.t-green{
    color: var(--dark-green);
}

/* Age Verification Modal */
.age-modal {
    /* background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); */
    color: var(--dark-green);
    border: none;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.age-modal .modal-body {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
}

.logo-container {
    animation: fadeInUp 1s ease-out;
}

/* .logo-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
} */

.bg-section-title a{
    color: var(--white);
}
.bg-section-title{
    /* background: linear-gradient(90deg, var(--primary-color), var(--accent-color)); */
    background:var(--accent-color);
    background-image:url(image/plant1.png);
    background-position: right 7rem bottom;
    background-repeat: no-repeat;
    background-size: 5rem;
    margin-top: 6.5rem;
    text-align: center;
    color:var(--white);
    text-transform: uppercase;
    padding: 4rem 0;
}

.brand-name {
    font-weight: bold;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.age-modal .btn {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.age-modal .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Navigation */
.custom-navbar {
    /* background: linear-gradient(90deg, var(--secondary-color), var(--primary-color)); */
    /* background: rgba(0, 0, 0, 0.5) !important; */
    /* backdrop-filter: blur(10px); */
    transition: all 0.3s ease;
    padding: 0.6rem 0;
}

.custom-navbar.scrolled {
    backdrop-filter: blur(10px);
    /* background: rgba(36, 84, 59, 0.95); */
    padding: 0.5rem 0;
}

/*  */

.navbar-toggler{
    color: var(--dark-green) !important;
    background-color: var(--accent-color) !important;
    border-radius: 60px;
    padding-top: 12px;
    padding-bottom: 12px;
}
/*  */
.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.navbar-brand img{
    width: 150px !important;
}

.navbar-nav .nav-link {
    color: var(--black) !important;
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    margin: 0 5px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    border-radius: 2rem;
}

.navbar-nav .nav-link:hover {
    background-color: var(--secondary-color);
    color: var(--white) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    background-color: var(--secondary-color);
    color: var(--white) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 16px;
    right: -5px;
    /* background-color: var(--accent-color); */
    transition: all 0.3s ease;
    transform: translateX(-0%);
}

/* .navbar-nav .nav-link:hover::after {
    width: 100%;
} */

.dropdown-menu {
    background: var(--secondary-color);
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dropdown-item {
    color: var(--white) !important;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: var(--white) !important;
    transform: translateX(5px);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    margin-top: 6.3rem;
}

.hero-slide {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-slide-1 {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.hero-slide-2 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-image {
    text-align: center;
    animation: fadeInLeft 1s ease-out 0.6s both;
}

.hero-icon {
    font-size: 15rem;
    color: var(--accent-color);
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* About Section */
.section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

#contact .contact-details a{
    color: var(--text-dark);
    text-decoration: none;
}
#contact .contact-details a:hover{
    color: var(--accent-color);
}

.about-image {
    text-align: center;
    padding: 2rem;
}

.about-icon {
    font-size: 12rem;
    color: var(--primary-color);
    opacity: 0.8;
    animation: pulse 2s infinite;
}

/* Statistics Section */
.stats-section {
    /* background: linear-gradient(135deg, var(--secondary-color), var(--primary-color)); */
    background-image: url(image/bg-tobac.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    color: var(--white);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Chairman's Message Section */
.chairman-image {
    text-align: center;
    padding: 2rem;
}

.image-placeholder {
    /* background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); */
    border-radius: 15px;
    /* padding: 3rem; */
    /* margin-bottom: 1rem; */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.chairman-icon {
    font-size: 8rem;
    color: var(--white);
    opacity: 0.9;
}

.chairman-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.chairman-quote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.chairman-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    left: -1rem;
    top: -1rem;
    opacity: 0.3;
}

/* Product Cards */
.product-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.product-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.product-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    background: rgba(178, 99, 30, 0.1);
    padding: 1rem;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    margin-bottom: 1.5rem;
}

.product-img-icon {
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.product-content h4 {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.product-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Event Cards */
.event-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.event-image {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.event-icon {
    font-size: 4rem;
    color: var(--white);
}

.event-content {
    padding: 1.5rem;
}

.event-content h5 {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.event-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* News Cards */
.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.news-icon {
    font-size: 3rem;
    color: var(--white);
}

.news-content {
    padding: 1.5rem;
}

.news-content h5 {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.news-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* CSR Section */
.csr-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    position: relative;
    overflow: hidden;
}

.csr-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.csr-section .container {
    position: relative;
    z-index: 2;
}

.csr-gallery {
    padding: 2rem;
}

.csr-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.csr-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.csr-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.csr-item span {
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Newsletter Section */
.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    border-radius: 25px 0 0 25px;
    border: 2px solid var(--primary-color);
    padding: 12px 20px;
    font-size: 1rem;
}

.newsletter-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(36, 84, 59, 0.25);
}

.newsletter-form .btn {
    border-radius: 0 25px 25px 0;
    padding: 12px 25px;
    border: 2px solid var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-icon {
        font-size: 8rem;
    }

    .about-icon {
        font-size: 8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .chairman-icon {
        font-size: 6rem;
    }

    .product-img-icon {
        font-size: 4rem;
    }

    .event-icon {
        font-size: 3rem;
    }

    .news-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-icon {
        font-size: 6rem;
    }

    .about-icon {
        font-size: 6rem;
    }

    .chairman-icon {
        font-size: 4rem;
    }

    .product-img-icon {
        font-size: 3rem;
    }

    .newsletter-form .form-control {
        border-radius: 25px;
        margin-bottom: 1rem;
    }

    .newsletter-form .btn {
        border-radius: 25px;
        width: 100%;
    }
}

/* Footer Section */
.footer-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-green));
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.footer-section .container {
    position: relative;
    z-index: 2;
}

.footer-section h5 {
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1.4rem;
}

.footer-links a::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-color);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 1.5rem;
}

.footer-links a:hover::before {
    transform: translateX(5px);
}

.contact-info {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    color: var(--accent-color);
    margin-right: 0.8rem;
    margin-top: 0.3rem;
    font-size: 1.1rem;
    width: 20px;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.footer-links-bottom {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-links-bottom a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links-bottom a:hover {
    color: var(--accent-color);
}

.footer-links-bottom span {
    color: rgba(255, 255, 255, 0.5);
}

.copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* whatsapp */
.whatsapp:hover{
    background-color: var(--primary-color);
}
.whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    /* opacity: 0; */
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 30px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Additional Animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading Animation Enhancement */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top: 6px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Print Styles */
@media print {
    .navbar,
    .back-to-top,
    .age-modal {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .hero-section {
        background: none !important;
        color: black !important;
    }
}
