/* General Styles */
:root {
    --primary-color: #4caf50;
    --secondary-color: #2e7d32;
    --accent-color: #ff9800;
    --magenta-color: #ff00ff;
    --text-color: #333;
    --light-text: #fff;
    --dark-bg: #1b1b1b;
    --light-bg: #f9f9f9;
    --border-radius: 8px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 12px 30px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Larger Inquire Now Buttons */
html body .btn.details-btn, 
html body button.btn.details-btn,
html body .product-actions .btn.details-btn,
html body .product-actions button.details-btn,
html body button.btn.details-btn[style*="width"],
html body .product-info .product-actions button.btn.details-btn,
html body .product-detail-container .product-actions button.btn.details-btn,
html body .modal-content .product-actions .btn.details-btn,
html body .modal-content .product-actions button.details-btn {
    padding: 8px 20px !important;
    font-size: 1.1rem !important;
    width: fit-content !important;
    min-width: 120px !important;
    height: auto !important;
    line-height: 1.3 !important;
    margin: 0 auto !important;
    max-width: 200px !important;
    display: block !important;
    transform: scale(1) !important;
    font-weight: bold !important;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.magenta {
    color: var(--magenta-color);
    font-weight: 700;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover, 
nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a:hover::after, 
nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    margin-top: 80px;
    position: relative;
}

.hero-image {
    height: 100%;
    width: 100%;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--light-text);
    z-index: 1;
    width: 90%;
    max-width: 800px;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.hero-content .btn {
    animation: fadeIn 1.5s ease;
}

/* Slider Section */
.slider-section {
    padding: 80px 0;
}

.main-slider {
    width: 100%;
    height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.main-slider .swiper-slide {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.main-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-slider .swiper-slide:hover img {
    transform: scale(1.05);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--light-text);
}

.slide-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.7);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Categories Section */
.categories {
    padding: 80px 0;
    background-color: #fff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background-color: #fff;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-img img {
    transform: scale(1.1);
}

.category-content {
    padding: 20px;
    text-align: center;
}

.category-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.category-thumbnails {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.category-thumbnails img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.category-thumbnails img:hover {
    transform: scale(1.2);
    border-color: var(--accent-color);
}

/* Browse Collections CTA Section */
.browse-collections {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.section-description {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.browse-cta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.browse-cta-item {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.browse-cta-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.browse-cta-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.browse-cta-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.browse-cta-item p {
    color: #666;
}

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .about .container {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .browse-cta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    header .container {
        padding: 10px 20px;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: #fff;
        box-shadow: var(--shadow);
        transition: var(--transition);
        z-index: 1000;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .main-slider {
        height: 350px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: space-around;
    }
    
    .stat {
        width: calc(50% - 20px);
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .category-img {
        height: 180px;
    }
    
    .category-content h3 {
        font-size: 1.3rem;
    }
    
    .category-thumbnails img {
        width: 40px;
        height: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-img {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .main-slider {
        height: 250px;
    }
    
    .slide-content {
        padding: 15px;
    }
    
    .slide-content h3 {
        font-size: 1.5rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .category-img {
        height: 140px;
    }
    
    .category-content {
        padding: 12px;
    }
    
    .category-content h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    
    .category-content p {
        font-size: 0.9rem;
    }
    
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-img {
        height: 150px;
    }
    
    .product-content {
        padding: 12px;
    }
    
    .product-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .price {
        font-size: 1.1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form .btn {
        width: 100%;
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .page-banner {
        padding: 80px 0 30px;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
}

/* Smaller devices (phones under 400px) */
@media (max-width: 400px) {
    .container {
        padding: 0 12px;
    }
    
    .category-grid,
    .collection-grid {
        gap: 8px;
    }
    
    .category-img {
        height: 120px;
    }
    
    .product-img {
        height: 130px;
    }
    
    .category-content h3 {
        font-size: 1rem;
    }
    
    .category-content p {
        font-size: 0.8rem;
    }
    
    .product-title {
        font-size: 0.9rem;
    }
    
    .price {
        font-size: 1rem;
    }
    
    .footer-col h3 {
        font-size: 1.2rem;
    }
    
    .stat h3 {
        font-size: 1.8rem;
    }
}

/* Extra small devices */
@media (max-width: 320px) {
    .category-grid,
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .category-img {
        height: 100px;
    }
    
    .category-thumbnails {
        display: none; /* Hide thumbnails on very small screens */
    }
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product card styling */
.product-card {
    position: relative;
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-img {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.03);
}

.product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.product-price {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.product-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-actions {
    margin-top: auto;
}

/* Collection grid styling */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

@media (max-width: 992px) {
    .collection-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-img {
        height: 160px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-title {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-img {
        height: 140px;
    }
    
    .product-info {
        padding: 10px;
    }
    
    .product-title {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .product-price {
        margin-bottom: 5px;
    }
    
    .product-description {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
}

/* About Section Styling */
.about {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-content {
    order: 1;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.stat {
    flex: 1;
    min-width: 140px;
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

.about-image {
    order: 2;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.about-image::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    top: 15px;
    left: 15px;
    border-radius: var(--border-radius);
    z-index: -1;
}

/* About responsive styles */
@media (max-width: 1024px) {
    .about .container {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        order: 2;
    }
    
    .about-image {
        order: 1;
        max-width: 600px;
        margin: 0 auto 30px;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }
    
    .about-stats {
        gap: 20px;
    }
    
    .stat {
        min-width: calc(50% - 10px);
        padding: 15px;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
    
    .about-content p {
        font-size: 1rem;
    }
    
    .about-image::after {
        top: 10px;
        left: 10px;
    }
}

@media (max-width: 576px) {
    .about {
        padding: 50px 0;
    }
    
    .about-image {
        margin-bottom: 20px;
    }
    
    .about-content p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .about-stats {
        margin-top: 20px;
        gap: 15px;
    }
    
    .stat {
        padding: 12px;
    }
    
    .stat h3 {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }
    
    .stat p {
        font-size: 0.9rem;
    }
    
    .about-image::after {
        display: none;
    }
}

@media (max-width: 400px) {
    .about {
        padding: 40px 0;
    }
    
    .about-stats {
        gap: 10px;
    }
    
    .stat {
        min-width: calc(50% - 5px);
        padding: 10px;
    }
    
    .stat h3 {
        font-size: 1.6rem;
    }
    
    .stat p {
        font-size: 0.85rem;
    }
}
