/* ===================================
   Homepage Styles - Kookaburra Sport Inspired
   =================================== */

/* Base Variables */
:root {
    --primary-color: #47d5ff;
    --primary-hover: #002b6b;
    --secondary-color: #ffffff;
    --text-color: #333333;
    --text-dark: #000000;
    --text-light: #666666;
    --bg-light: #f8f8f8;
    --bg-white: #ffffff;
    --bg-dark: #ffffff;
    --bg-section: #ffffff;
    --border-color: #e0e0e0;
    --spacing-unit: 20px;
    --transition: all 0.3s ease;
    --font-heading: 'Roboto', sans-serif;
    --font-blurb: 'Kedebideri', sans-serif;
}

/* ---------- HERO SECTION ---------- */
.hero {
    position: relative;
    width: 100%;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
    padding: 0;
    display: flex;
    align-items: center;
    background-color: #f8f8f8;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
}

/* Video Background */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bg-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* Fallback for browsers that don't support video */
.bg-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: url('/wp-content/themes/adrin/images/banner-main.png') center center; */
    background-size: cover;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 800px;
    padding: 0 20px;
    z-index: 3;
    text-align: center;
    color: #fff;
    width: 100%;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px;
    margin-top: 15px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ---------- NEW RELEASES SECTION ---------- */
.new-releases {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.new-releases .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}
.new-releases .btn-wrap {
    text-align: center;
    margin-top: 50px;
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}


.new-releases .woocommerce ul.products li.product {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
}

.new-releases .woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.new-releases .woocommerce ul.products li.product img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.new-releases .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 20px 0 10px;
    padding: 0 20px;
    color: var(--text-dark);
    line-height: 1.4;
}

.new-releases .woocommerce ul.products li.product .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding: 0 20px;
    font-family: var(--font-blurb);
}

.new-releases .woocommerce ul.products li.product .button {
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 12px 30px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-blurb);
    margin: 0 20px 20px;
    display: inline-block;
}

.new-releases .woocommerce ul.products li.product .button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}
@media screen and (max-width: 991px) {
    .new-releases .woocommerce ul.products li.product {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
}
@media screen and (max-width: 595px) {
    .new-releases .woocommerce ul.products li.product {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
}

/* ---------- WHAT WE DO SECTION ---------- */
.what-we-do {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.what-we-do .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.what-we-do-item {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.what-we-do-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.what-we-do-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.what-we-do-item p {
    font-family: var(--font-blurb);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0;
}

/* ---------- PROMO BOX SECTION ---------- */
.promo-box {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.promo-box .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.promo-box .row-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.promo-box .col-four {
    text-align: center;
}

.promo-box .card {
    background-color: var(--bg-white);
    padding: 40px var(--spacing-unit);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.promo-box .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.promo-box .card .img,
.promo-box .card svg {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-unit);
    fill: var(--primary-color);
    color: var(--primary-color);
}

.promo-box .card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.promo-box .card p {
    font-family: var(--font-blurb);
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ---------- CONTENT WITH ICON CIRCLE SECTION ---------- */
.content-with-icon-circle {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.content-with-icon-circle .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.content-with-icon-circle .intro-wrap {
    text-align: center;
    margin-bottom: 60px;
}

.content-with-icon-circle .intro-wrap h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.content-with-icon-circle .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.content-with-icon-circle .col-4 {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.content-with-icon-circle .text-with-icon {
    display: flex;
    align-items: center;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.content-with-icon-circle .text-with-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.content-with-icon-circle .text-with-icon .content {
    padding: 20px;
}

.content-with-icon-circle .icon-wrap {
    width: 150px;
    height: 150px;
    overflow: hidden;
    flex-shrink: 0;
}

.content-with-icon-circle .icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-with-icon-circle .text-with-icon h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.content-with-icon-circle .text-with-icon p {
    font-family: var(--font-blurb);
    font-size: 0.95rem;
    color: var(--text-color);
    margin: 0;
}

.content-with-icon-circle .btn-outer {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 30px;
}

/* ---------- GALLERY GRID SECTION ---------- */
.gallery-grid {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.gallery-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    grid-auto-flow: dense;
}

.gallery-wrapper .tall {
    grid-row: span 2;
}

.gallery-wrapper .small {
    grid-row: span 1;
}

.gallery-wrapper .big {
    grid-row: span 1;
    grid-column: span 2;
}

.gallery-wrapper .xl-wide {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-wrapper > div {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-wrapper > div:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.gallery-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-wrapper > div:hover img {
    transform: scale(1.1);
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-content {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--bg-white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.close:hover {
    opacity: 0.7;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ---------- TESTIMONIAL SLIDER SECTION ---------- */
.testimonial-slider {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.testimonial-slider .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.testimonial-slider .slide-wrap {
    position: relative;
}

.testimonial-slider .slide {
    text-align: center;
}

.testimonial-slider .content {
    background-color: var(--bg-white);
    padding: 60px var(--spacing-unit);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.testimonial-slider .heading {
    margin-bottom: 40px;
}

.testimonial-slider .heading h4 {
    font-family: var(--font-blurb);
    font-size: 1.3rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider .author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.testimonial-slider .author h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
}

.testimonial-slider .author p {
    font-family: var(--font-blurb);
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ---------- CTA ACTION SECTION ---------- */
.cta-action {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-white) !important;
}

.cta-action .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
    position: relative;
    z-index: 1;
}

.cta-action-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.cta-action-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    color: var(--text-dark);
}

.cta-action-description {
    font-family: var(--font-blurb);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color);
}

.cta-action-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 40px;
    font-family: var(--font-blurb);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    z-index: 1;
    border-radius: 4px;
}

.btn-shop {
    background: var(--primary-color);
    color: var(--text-dark);
    border-color: var(--primary-color);
}

.btn-shop:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(147, 214, 0, 0.3);
}

.btn-contact {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-contact:hover {
    background-color: var(--text-dark);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 1024px) {
    .hero {
        min-height: 450px;
        max-height: 600px;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .what-we-do-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .promo-box .row-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-with-icon-circle .row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-wrapper .xl-wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 400px;
        max-height: 500px;
    }
    
    .bg-video video {
        /* Ensure video covers properly on mobile */
        min-width: 100%;
        min-height: 100%;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .new-releases,
    .what-we-do,
    .content-with-icon-circle,
    .gallery-grid,
    .testimonial-slider,
    .cta-action {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .new-releases .woocommerce ul.products {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .promo-box {
        padding: 50px 0;
    }
    
    .promo-box .row-wrap {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-wrapper {
        grid-template-columns: 1fr;
    }
    
    .gallery-wrapper .tall,
    .gallery-wrapper .big,
    .gallery-wrapper .xl-wide {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .content-with-icon-circle .text-with-icon {
        flex-direction: column;
    }
    
    .content-with-icon-circle .icon-wrap {
        width: 100%;
        height: 200px;
    }
    
    .cta-action-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .cta-action-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .cta-action-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-cta {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 350px;
        max-height: 450px;
    }
    
    .bg-video video {
        /* Optimize video for small screens */
        min-width: 100%;
        min-height: 100%;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .what-we-do-item {
        padding: 30px 20px;
    }
    
    .what-we-do-item h3 {
        font-size: 1.3rem;
    }
    
    .cta-action {
        padding: 50px 0;
    }
    
    .cta-action-title {
        font-size: 1.75rem;
    }
    
    .cta-action-description {
        font-size: 0.95rem;
    }
}
