/* ===================================
   CSS Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #64748b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

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

/* ===================================
   Header & Navigation
   =================================== */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    background-image: url('../images/slider7.jpg');
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: var(--bg-light);
    width: 100%;
    padding: 0;
    /* Maintain aspect ratio: 657/1915 = 0.3431 (34.31%) */
    padding-bottom: 34.31%;
    overflow: hidden;
}

/* ===================================
   Products Section
   =================================== */
.products-section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.product-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

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

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===================================
   Modal
   =================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background-color: var(--bg-white);
    max-width: 1000px;
    margin: 2rem auto;
    border-radius: 12px;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-white);
    border: none;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background-color: var(--bg-light);
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
}

.modal-gallery {
    width: 100%;
}

.modal-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.modal-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
}

.modal-thumbnails img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.modal-thumbnails img:hover,
.modal-thumbnails img.active {
    border-color: var(--primary-color);
}

.modal-details h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.modal-description {
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.modal-specs,
.modal-sizes,
.modal-order {
    margin-bottom: 2rem;
}

.modal-specs h3,
.modal-sizes h3,
.modal-order h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.modal-specs ul {
    list-style: none;
    padding-left: 0;
}

.modal-specs li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}

.modal-specs li:last-child {
    border-bottom: none;
}

.size-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.size-option {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.size-option:hover {
    border-color: var(--primary-color);
    background-color: var(--bg-light);
}

.contact-info {
    background-color: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0;
}

/* ===================================
   Description Section
   =================================== */
.description-section {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.description-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.description-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.description-image-item {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background-color: var(--bg-light);
}

.description-image-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.description-text {
    color: var(--text-dark);
    text-align: center;
}

.description-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ===================================
   Kako Naručiti Section
   =================================== */
.order-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.order-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.order-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.contact-link {
    display: block;
    width: 100px;
    height: 100px;
    transition: var(--transition);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.contact-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-info {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    word-break: break-word;
}

.description-text p:last-child {
    margin-bottom: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   Responsive Design - Tablet
   =================================== */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .description-images {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .contact-link {
        width: 90px;
        height: 90px;
    }
    
    .contact-info {
        font-size: 0.9rem;
    }

    .modal-body {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   Responsive Design - Desktop
   =================================== */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===================================
   Responsive Design - Mobile
   =================================== */
@media (max-width: 767px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-md);
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    .nav-list li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-list a {
        display: block;
        padding: 1rem 20px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding-bottom: 29%;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .products-section {
        padding: 2rem 0;
    }

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

    .product-image {
        height: 300px;
    }

    .modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }

    .modal-body {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .modal-details h2 {
        font-size: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-link {
        width: 80px;
        height: 80px;
    }
    
    .contact-info {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
}


/* Made with Bob */
