/* NOGAMU - Main Stylesheet - Core Styles */
:root {
    --primary: #28a745;      /* Green - organic growth */
    --primary-gradient: linear-gradient(90deg, #295c27 0%, #5d9936 100%);
    --secondary: #ffc107;    /* Yellow - harvest/sun */
    --dark: #343a40;         /* Dark gray */
    --light: #f8f9fa;        /* Light gray */
    --white: #ffffff;
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Bootstrap Primary Color Overrides */
.bg-primary, .btn-primary, .alert-primary, .badge-primary, .form-control:focus, .page-hero-section.bg-primary, .navbar.bg-primary {
    background: var(--primary-gradient) !important;
    color: #fff !important;
    border: none;
}
.text-primary {
    color: #295c27 !important;
}
.btn-primary, .btn-primary:active, .btn-primary:focus {
    background: var(--primary-gradient) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(41,92,39,0.2);
}
.btn-primary:hover {
    background: linear-gradient(90deg, #1e4420 0%, #4c7d2c 100%) !important;
    color: #fff !important;
}
.bg-primary .text-white, .btn-primary .text-white {
    color: #fff !important;
}


/* Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; line-height: 1.6; color: var(--dark); background: var(--light); }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; }

/* Typography */
h1,h2,h3,h4,h5,h6 { font-weight: 700; margin-bottom: 1rem; }
p { margin-bottom: 1rem; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { position: relative; display: inline-block; }
.section-title h2:after {
    content: ''; position: absolute; bottom: -10px; left: 50%; 
    transform: translateX(-50%); width: 80px; height: 3px; background: var(--primary);
}

/* Custom CSS */

.floating-cart-btn {
    position: fixed;
    right: 2.2rem;
    bottom: 6.5rem;
    z-index: 1200;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-gradient, var(--primary));
    box-shadow: 0 0 0 6px #eaffc2, 0 0 18px 2px #fff20080;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.22s, transform 0.18s;
    text-decoration: none;
}
.floating-cart-btn:hover {
    box-shadow: 0 0 24px 6px #fff200, 0 0 0 8px #ffea00;
    transform: scale(1.09);
}
.floating-cart-btn .cart-glow {
    font-size: 1.7rem;
    color: #fff;
}
.floating-cart-btn .cart-count {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.85rem;
    min-width: 1.4em;
    min-height: 1.4em;
    padding: 0.25em 0.4em;
    border: 2px solid #fff;
    box-shadow: 0 0 8px #ffea00;
    font-weight: 600;
    pointer-events: none;
}
@media (max-width: 700px) {
  .floating-cart-btn {
    right: 1rem;
    bottom: 5.5rem;
    width: 44px;
    height: 44px;
  }
  .floating-cart-btn .cart-glow {
    font-size: 1.25rem;
  }
  .floating-cart-btn .cart-count {
    font-size: 0.72rem;
    top: 4px;
    right: 4px;
  }
}

/* Buttons */
.btn {
    display: inline-block; padding: 0.75rem 1.5rem; border-radius: 50px;
    font-weight: 600; text-transform: uppercase; transition: var(--transition);
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--primary); color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: #218838; border-color: #1e7e34;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}
.btn-outline-primary {
    background: transparent; color: var(--primary);
    border-color: var(--primary);
}
.btn-outline-primary:hover {
    background: var(--primary); color: var(--white);
}

/* Header */
.top-bar {
    background: var(--primary); color: var(--white);
    padding: 0.5rem 0; font-size: 0.875rem;
}
.top-bar .social-links a {
    color: var(--white); margin-left: 15px;
}
@media (max-width: 767.98px) {
  .top-bar .row.flex-column {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .top-bar .contact-info {
    margin-bottom: 0.5rem;
  }
  .top-bar .social-links {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
  }
}
.navbar {
    background: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}
.navbar .nav-link {
    font-weight: 500; padding: 0.5rem 1rem !important;
    text-transform: uppercase; font-size: 0.9rem;
    position: relative;
}
.navbar .nav-link:after {
    content: ''; position: absolute; bottom: 0; left: 1rem;
    width: 0; height: 2px; background: var(--primary);
    transition: var(--transition);
}
.navbar .nav-link:hover:after,
.navbar .nav-link.active:after {
    width: calc(100% - 2rem);
}

/* Hero Section */
.hero-section {}

.page-hero-section {
    position: relative;
    min-height: 32vh;
    max-height: 48vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.page-hero-section .container {
    position: relative;
    z-index: 2;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}
.page-hero-section h1, .page-hero-section nav, .page-hero-section .breadcrumb {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.page-hero-section .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.7);
}
@media (max-width: 768px) {
    .page-hero-section {
        min-height: 22vh;
        max-height: 32vh;
        padding: 1.5rem 0;
    }
    .page-hero-section h1 {
        font-size: 1.5rem;
    }
}
@media (max-width: 400px) {
    .page-hero-section {
        min-height: 16vh;
        max-height: 22vh;
        padding: 1rem 0;
    }
    .page-hero-section h1 {
        font-size: 1.1rem;
    }
}


.hero-slider .item {
    position: relative;
    min-height: 60vh;
}
.hero-slider .item img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    object-position: center;
    display: block;
}
.hero-slider .carousel-caption {
    position: absolute;
    left: 50%;
    bottom: 10%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.4);
    padding: 2rem 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 90%;
    max-width: 700px;
}
@media (max-width: 768px) {
    .hero-slider .carousel-caption {
        padding: 1rem 0.5rem;
        font-size: 1rem;
        left: 50%;
        bottom: 2%;
        width: 98%;
        max-width: 98vw;
    }
    .hero-slider .item img {
        height: 28vh;
        min-height: 180px;
    }
    .carousel-caption h1 {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
        line-height: 1.2;
    }
    .carousel-caption p {
        font-size: 0.98rem;
        margin-bottom: 0.7rem;
    }
    .carousel-caption .btn,
    .carousel-caption a.btn {
        display: block;
        width: 100%;
        margin: 0.55rem 0 0 0;
        font-size: 1rem;
        padding: 0.8rem 0;
    }
    .carousel-caption .btn + .btn {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}
.hero-content h1 {
    font-size: 3rem; margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* Cards */
.card {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--border-radius);
    overflow: hidden; margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.card-img-top {
    height: 200px; object-fit: cover;
    transition: var(--transition);
}
.card:hover .card-img-top {
    transform: scale(1.1);
}
.card-body { padding: 1.5rem; }

/* Footer */

@media (max-width: 768px) {
  .navbar-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .navbar-nav .nav-item {
    width: 100%;
    margin: 0.3rem 0;
  }
  .navbar-nav .btn,
  .navbar-nav a.btn {
    width: 100%;
    margin: 0.3rem 0 0.9rem 0;
    padding: 1rem 0;
    font-size: 1.08rem;
  }
  .navbar-nav .btn + .btn,
  .navbar-nav a.btn + .btn,
  .navbar-nav .btn + a.btn {
    margin-top: 0.9rem;
    margin-left: 0;
  }
  .navbar-nav .dropdown-menu {
    margin-bottom: 0.5rem;
  }
  .navbar {
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
  }
}

.footer {
    background: var(--dark); color: #adb5bd;
    padding: 5rem 0 2rem;
}
.footer h5 {
    color: var(--white); position: relative;
    padding-bottom: 0.75rem; margin-bottom: 1.5rem;
}
.footer h5:after {
    content: ''; position: absolute;
    left: 0; bottom: 0; width: 50px;
    height: 2px; background: var(--primary);
}
.footer-links a {
    color: #adb5bd; display: block;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.developed-by {
    white-space: nowrap;
}
.developer-link:hover {
    text-decoration: underline;
}
.footer-links a:hover {
    color: var(--primary); padding-left: 5px;
}
.social-links a {
    display: inline-flex; align-items: center;
    justify-content: center; width: 40px; height: 40px;
    background: rgba(255,255,255,0.1); color: var(--white);
    border-radius: 50%; margin-right: 10px;
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.back-to-top {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 1050;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(40,167,69,0.3);
    font-size: 1.5rem;
    opacity: 0.9;
    visibility: visible;
    transition: opacity 0.3s, visibility 0.3s;
}
.back-to-top i, .back-to-top span {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1;
}
.back-to-top.hide {
    opacity: 0;
    visibility: hidden;
}
@media (max-width: 576px) {
    .back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    .hero-section {
        min-height: unset;
        padding-bottom: 0;
    }
    .hero-slider .item {
        min-height: 180px;
        position: relative;
    }
    .hero-slider .item img {
        height: 28vh;
        min-height: 140px;
        max-height: 180px;
        object-fit: cover;
        width: 100vw;
    }
    .hero-slider .carousel-caption {
        display: block !important;
        position: absolute;
        left: 50%;
        bottom: 8px;
        transform: translateX(-50%);
        padding: 0.5rem 0.7rem;
        font-size: 1rem;
        width: 96vw;
        max-width: 99vw;
        border-radius: 10px;
        background: rgba(0,0,0,0.40);
        text-align: center;
        z-index: 2;
    }
    .hero-slider .carousel-caption h1,
    .hero-slider .carousel-caption .display-4 {
        font-size: 1.05rem;
        margin-bottom: 0.4rem;
    }
    .hero-slider .carousel-caption p {
        font-size: 0.93rem;
        margin-bottom: 0.4rem;
    }
    .hero-slider .carousel-caption a.btn {
        display: block;
        width: 100%;
        margin-bottom: 0.4rem;
        font-size: 0.93rem;
        padding: 0.5rem 0.7rem;
    }
    .owl-dots {
        position: absolute;
        left: 50%;
        bottom: 2px;
        transform: translateX(-50%);
        margin-top: 0 !important;
        z-index: 3;
    }
    .owl-dot span {
        width: 8px !important;
        height: 8px !important;
    }
}


@media (max-width: 400px) {
    .hero-slider .item img {
        height: 22vh;
        min-height: 110px;
    }
    .hero-slider .carousel-caption {
        padding: 0.3rem 0.2rem;
        font-size: 0.9rem;
        max-width: 99vw;
        width: 99vw;
        left: 50%;
        bottom: 2%;
        transform: translateX(-50%);
        border-radius: 7px;
    }
    .hero-slider .carousel-caption h1,
    .hero-slider .carousel-caption .display-4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    .hero-slider .carousel-caption p {
        font-size: 0.93rem;
        margin-bottom: 0.5rem;
    }
    .hero-slider .carousel-caption a.btn {
        font-size: 0.9rem;
        padding: 0.5rem 0.7rem;
    }
    .hero-slider .carousel-caption {
        background: rgba(0,0,0,0.18);
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-content h1 { font-size: 2.5rem; }
    .section-title h2 { font-size: 2rem; }
}

@media (max-width: 767.98px) {
    .hero-content h1 { font-size: 2rem; }
    .section-title h2 { font-size: 1.75rem; }
    .navbar-nav { padding: 1rem 0; }
}

/* Video Hero Section Styles */
.video-hero-section {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url('../images/animated hero section/Showcasebg-slider1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.8) 0%, rgba(32, 201, 151, 0.7) 50%, rgba(23, 162, 184, 0.6) 100%);
    z-index: 2;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Play Button Styles */
.play-button-container {
    position: relative;
    display: inline-block;
    z-index: 15;
}

.play-btn {
    position: relative;
    width: 120px;
    height: 120px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
}

.play-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s ease;
}

.play-btn:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.2);
}

/* Ripple Circle Animations */
.ripple-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: ripple 3s infinite ease-out;
}

.circle-1 {
    width: 120px;
    height: 120px;
    animation-delay: 0s;
}

.circle-2 {
    width: 140px;
    height: 140px;
    animation-delay: 0.6s;
}

.circle-3 {
    width: 160px;
    height: 160px;
    animation-delay: 1.2s;
}

.circle-4 {
    width: 180px;
    height: 180px;
    animation-delay: 1.8s;
}

.circle-5 {
    width: 200px;
    height: 200px;
    animation-delay: 2.4s;
}

@keyframes ripple {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

/* Video Modal Styles */
#videoModal .modal-content {
    background: rgba(0,0,0,0.9) !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

#videoModal .modal-body {
    padding: 1rem !important;
}

#videoModal iframe {
    width: 100% !important;
    height: 100% !important;
    border-radius: 8px;
}

#videoModal .btn-close {
    background: white !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
    border: 2px solid white !important;
    color: #000 !important;
    position: fixed !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

#videoModal .btn-close:hover {
    opacity: 1 !important;
    background: #f8f9fa !important;
    color: #000 !important;
    transform: scale(1.1) !important;
}

#videoModal .btn-close::before {
    content: "×" !important;
    font-size: 18px !important;
    font-weight: bold !important;
    line-height: 1 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-hero-section {
        min-height: 60vh;
    }
    
    .play-btn {
        width: 80px;
        height: 80px;
    }
    
    .play-icon {
        font-size: 1.8rem;
    }
    
    .circle-1 { width: 80px; height: 80px; }
    .circle-2 { width: 100px; height: 100px; }
    .circle-3 { width: 120px; height: 120px; }
    .circle-4 { width: 140px; height: 140px; }
    .circle-5 { width: 160px; height: 160px; }
    
    .display-4 {
        font-size: 2rem !important;
    }
    
    /* Mobile video modal fixes */
    #videoModal .modal-dialog {
        margin: 10px !important;
        max-width: calc(100vw - 20px) !important;
    }
    
    #videoModal .modal-content {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    #videoModal .modal-body {
        padding: 0 !important;
    }
    
    #videoModal #videoContainer {
        background: transparent !important;
        border-radius: 0 !important;
        min-height: 200px !important;
    }
    
    #videoModal iframe {
        border-radius: 8px !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    #videoModal .btn-close {
        top: 5px !important;
        right: 5px !important;
        width: 35px !important;
        height: 35px !important;
        font-size: 1rem !important;
    }
}
