@tailwind base;
@tailwind components;
@tailwind utilities;


:root {
    --font-nunito: 'Nunito', sans-serif;
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;
    --primary-color: #FF6713;
    --text-light-orange-color: #FFE1D0;
    --text-dark: #000000;
    --text-light: #666666;
    --text-blue: #3786C0;
    --white: #ffffff;
    --drawer-border-color: #EEEEEE;
    --hero-background-color: #E8F9FF;
    --shopify-color: #96BF48;
}


.product-details-container {
    max-width: 100%;
    margin-top: 70px;
}

.product-preview {
    position: sticky;
    top: 20px;
}

.main-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
    height: auto;
}

.product-info {
    padding: 20px;
}

.product-info h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.description {
    margin-bottom: 30px;
    line-height: 1.6;
}

.full-description {
    grid-column: 1 / -1;
    padding: 40px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-details-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-preview {
        position: static;
    }
}

/* WhatsApp Saver Section */
.wa-saver-section {
    padding: 60px 0;
    background: var(--white);
    justify-content: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Two Column Layout */
.wa-saver-wrapper {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .wa-saver-wrapper {
        margin-bottom: 10px;
    }
}

/* Left Section */
.wa-saver-left {
    flex: 0 0 60%;
    text-align: center;
}

.banner-image {
    width: 100%;
    height: auto;
    max-width: 600px; /* Prevent image from getting too large */
    border-radius: 10px !important;
}

/* Right Section */
.wa-saver-right {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Download Button */
.download-section {
    margin-bottom: 30px;
}

/* Info Section */
.app-info {
    text-align: left;
}

.app-info h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
}

.license-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.license-info p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 30px;
}

.license-buttons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: flex-start;
}

.btn-extended, .btn-regular {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    white-space: nowrap;
}

.btn-extended {
    background: var(--primary-color);
    color: white;
}

.btn-regular {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* App Description */
.app-description {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
}

.app-description p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 20px;
}

.app-description strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Large Screens (1200px and up) */
@media (min-width: 1200px) {
    .container {
        padding: 0 40px;
    }
}

/* Desktop and Tablet Landscape (992px to 1199px) */
@media (max-width: 1199px) {
    .app-info h2 {
        font-size: 24px;
    }
}

/* Tablet Portrait (768px to 991px) */
@media (max-width: 991px) {
    .wa-saver-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .wa-saver-left, .wa-saver-right {
        flex: 0 0 100%;
    }

    .wa-saver-right {
        padding: 0 20px;
    }

    .app-info {
        text-align: center;
    }

    .license-buttons {
        justify-content: center;
    }
}

/* Large Mobile (576px to 767px) */
@media (max-width: 767px) {
    .wa-saver-section {
        padding: 40px 0;
    }

    .app-info h2 {
        font-size: 22px;
    }

    .license-info h3 {
        font-size: 18px;
    }

    .license-info p {
        font-size: 15px;
    }
}

/* Small Mobile (575px and below) */
@media (max-width: 575px) {
    .wa-saver-section {
        padding: 30px 0;
    }

    .container {
        padding: 0 15px;
    }

    .license-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-extended, .btn-regular {
        width: 100%;
        padding: 10px 20px;
        font-size: 14px;
    }

    .app-info h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .app-description p {
        font-size: 14px;
    }
}

/* Extra Small Mobile (375px and below) */
@media (max-width: 375px) {
    .wa-saver-section {
        padding: 20px 0;
    }

    .app-info h2 {
        font-size: 18px;
    }

    .license-info h3 {
        font-size: 16px;
    }
}

/* Desktop and Tablet (1024px and below) */
@media (max-width: 1024px) {
    .wa-saver-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .wa-saver-left, .wa-saver-right {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .wa-saver-left {
        margin-bottom: 0;
    }

    .banner-image {
        max-width: 500px; /* Control image size */
        margin: 0 auto;
    }

    .wa-saver-right {
        padding: 0;
    }

    .app-info {
        text-align: center;
    }

    .app-info h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .license-buttons {
        justify-content: center;
    }

    .app-description {
        margin-top: 30px;
        clear: both; /* Prevent overlapping */
    }
}

/* Tablet (768px to 1023px) */
@media (max-width: 768px) {
    .wa-saver-section {
        padding: 40px 0;
    }

    .banner-image {
        max-width: 400px;
    }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
    .banner-image {
        max-width: 100%;
    }

    .license-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-extended, .btn-regular {
        width: 100%;
    }
}

/* Update media queries to keep buttons horizontal */
@media (max-width: 1024px) {
    .license-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .license-buttons {
        flex-direction: column;
        gap: 10px;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn-extended, .btn-regular {
        width: 100%;
        padding: 10px 20px;
        font-size: 14px;
    }
}

.app-screens-section {
    padding: 0 0;
    background: var(--white);
}

.app-screens-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.screens-image {
    max-width: 400px; /* Adjust based on your needs */
    width: 100%;
    height: auto;
    border-radius: 10px !important;
}

/* Responsive styles */
@media (max-width: 768px) {
    .app-screens-section {
        padding: 40px 0;
    }

    .screens-image {
        max-width: 300px; /* Smaller on mobile */
    }
}

@media (max-width: 576px) {
    .screens-image {
        max-width: 280px; /* Even smaller on very small screens */
    }
}

.recommended-section {
    padding: 80px 0;
    background: var(--white);
}

.recommended-section h2 {
    font-size: 36px;
    color: var(--text-blue);
    text-align: center;
    margin-bottom: 20px;
}

.section-desc {
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 16px;
    line-height: 1.6;
}

.products-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.product-card {
    width: 100%;
    background: var(--white);
    border-radius: 10px;
    padding: 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--drawer-border-color);
    height: 350px; /* Increased height for more portrait look */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px; /* Increased gap between elements */
}

.product-card img {
    width: 80px; /* Slightly larger icons */
    height: 80px;
}

.product-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    line-height: 1.4;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-buy {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-buy:hover {
    background: var(--primary-color);
}

.slider-nav {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .products-slider {
        grid-template-columns: repeat(2, 1fr); /* 2 items per row on mobile */
        gap: 15px;
    }

    .product-card {
        height: 300px; /* Adjusted for mobile but still portrait */
        padding: 20px 20px;
        gap: 30px;
    }

    .product-card img {
        width: 70px;
        height: 70px;
    }

    .product-card h3 {
        font-size: 16px;
        min-height: 45px;
    }

    .btn-buy {
        padding: 8px 25px;
        font-size: 14px;
    }
}