/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff9900;
    --secondary-color: #e68a00;
    --text-color: #1d1d1f;
    --background-color: #ffffff;
    --border-color: #d2d2d7;
    --nav-height: 44px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Navigation */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hamburger animation */
.hamburger span.active:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger span.active:nth-child(2) {
    opacity: 0;
}

.hamburger span.active:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, #f5f5f7, #ffffff);
    padding: 80px 1rem 40px;
    text-align: center;
    margin-top: var(--nav-height);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.hero p {
    font-size: 1.25rem;
    color: #86868b;
    margin-bottom: 1.5rem;
    white-space: nowrap;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.product-card:visited {
    color: inherit;
    text-decoration: none;
}

.product-card .product-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff, #f5f5f7);
    flex-grow: 1;
}

.product-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.product-price {
    font-size: 1.25rem;
    color: #86868b;
    margin-bottom: 0.5rem;
}

.color-text {
    color: #86868b;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.buy-button {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background-color: #091f3f;
    color: white;
    text-decoration: none;
    border-radius: 980px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 500;
    width: 100%;
    max-width: 300px;
    text-align: center;
    border: none;
    cursor: pointer;
}

.buy-button:hover {
    background-color: #0a2549;
    transform: scale(1.02);
}

/* Footer */
footer {
    background: #f5f5f7;
    padding: 1.5rem;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
    object-fit: contain;
}

.footer-section p {
    color: #86868b;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    margin-top: 0.5rem;
}

.footer-links a {
    color: #86868b;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0071e3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: saturate(180%) blur(20px);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem;
        font-size: 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2rem;
        white-space: normal;
    }

    .hero p {
        font-size: 1.1rem;
        white-space: normal;
    }

    .products-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }

    .product-card {
        border-radius: 14px;
        max-width: 100%;
    }

    .gallery-main {
        height: 250px;
    }

    .product-info {
        padding: 1.25rem;
    }

    .product-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .product-price {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .color-text {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .buy-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        max-width: 250px;
    }

    .gallery-thumbnails {
        padding: 0.75rem;
        gap: 0.4rem;
    }

    .thumbnail {
        width: 40px;
        height: 40px;
    }

    /* About and Contact page responsive */
    .about-section,
    .contact-section {
        padding: 100px 1rem 40px;
    }

    .contact-section h1 {
        font-size: 32px;
        margin-bottom: 1.5rem;
    }

    .about-content,
    .contact-content {
        padding: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 22px;
        margin-bottom: 0.75rem;
    }

    .contact-info p {
        font-size: 16px;
        margin-bottom: 1rem;
    }

    .contact-details h3 {
        font-size: 16px;
        margin: 1rem 0 0.25rem;
    }

    .contact-details a {
        font-size: 16px;
        display: inline-block;
        padding: 0.5rem 0;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group label {
        font-size: 13px;
        margin-bottom: 0.4rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 16px;
    }

    .submit-button {
        padding: 0.8rem 1.5rem;
        font-size: 16px;
        max-width: 250px;
    }

    .products-section h1 {
        font-size: 32px;
    }

    .gallery-nav {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }

    .thumbnail {
        min-width: 44px;
        min-height: 44px;
    }

    /* Improve scrolling */
    .gallery-thumbnails {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .gallery-thumbnails::-webkit-scrollbar {
        display: none;
    }

    /* Prevent zoom on input focus */
    input[type="text"],
    input[type="email"],
    textarea {
        font-size: 16px;
    }

    /* Improve button touch targets */
    .buy-button,
    .submit-button {
        min-height: 44px;
        padding: 0.8rem 1.5rem;
    }

    /* Improve hamburger menu touch target */
    .hamburger {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Color options mobile optimization */
    .color-options {
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .color-dot {
        width: 35px;
        height: 35px;
        min-width: 35px;
        min-height: 35px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 1rem 25px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        padding: 1rem 0.75rem;
        gap: 1.25rem;
    }

    .product-card {
        border-radius: 12px;
    }

    .gallery-main {
        height: 200px;
    }

    .product-info {
        padding: 1rem;
    }

    .product-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .product-price {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .color-text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .buy-button {
        padding: 0.7rem 1.25rem;
        font-size: 0.9rem;
        max-width: 200px;
    }

    .gallery-thumbnails {
        padding: 0.5rem;
        gap: 0.3rem;
    }

    .thumbnail {
        width: 35px;
        height: 35px;
        min-width: 35px;
        min-height: 35px;
    }

    .logo-image {
        height: 35px;
    }

    /* About and Contact page responsive for small screens */
    .about-section,
    .contact-section {
        padding: 80px 0.75rem 30px;
    }

    .contact-section h1 {
        font-size: 28px;
        margin-bottom: 1.25rem;
    }

    .about-content,
    .contact-content {
        padding: 1rem;
        border-radius: 12px;
    }

    .contact-content {
        gap: 1.5rem;
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 20px;
        margin-bottom: 0.5rem;
    }

    .contact-info p {
        font-size: 15px;
        margin-bottom: 0.75rem;
    }

    .contact-details h3 {
        font-size: 15px;
        margin: 0.75rem 0 0.25rem;
    }

    .contact-details a {
        font-size: 15px;
        padding: 0.4rem 0;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group label {
        font-size: 12px;
        margin-bottom: 0.3rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 16px;
    }

    .submit-button {
        padding: 0.7rem 1.25rem;
        font-size: 15px;
        max-width: 200px;
    }

    .products-section h1 {
        font-size: 28px;
        margin-bottom: 1.5rem;
    }

    .about-text h2,
    .contact-info h2,
    .contact-form h2 {
        font-size: 20px;
    }

    .about-text p,
    .contact-info p {
        font-size: 15px;
    }

    /* Additional mobile optimizations */
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .nav-links a {
        padding: 0.6rem;
        font-size: 0.95rem;
    }

    /* Ensure form elements are properly sized */
    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 16px;
    }

    .submit-button {
        padding: 0.7rem 1.25rem;
        font-size: 0.9rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Contact form mobile optimizations */
    .contact-form {
        width: 100%;
    }

    .contact-info {
        width: 100%;
    }

    .contact-details a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        text-decoration: none;
        color: #0071e3;
        font-weight: 500;
    }

    .contact-details a:hover {
        text-decoration: underline;
    }
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

/* Product Gallery Styles */
.product-gallery {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-main {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
}

.gallery-main .product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
    z-index: 2;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.gallery-nav.prev {
    left: 10px;
    border-radius: 50%;
}

.gallery-nav.next {
    right: 10px;
    border-radius: 50%;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
    background: #f5f5f7;
    border-radius: 0 0 18px 18px;
    justify-content: center;
}

.thumbnail {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover {
    opacity: 0.8;
}

.thumbnail.active {
    opacity: 1;
    border: 2px solid #0071e3;
}

/* Color Options Styles */
.color-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 5px;
}

.color-dot {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid #ddd;
    cursor: pointer;
}

.color-dot.black { background-color: black; }
.color-dot.blue { background-color: #0066cc; }
.color-dot.gray { background-color: #808080; }
.color-dot.pink { background-color: #ff69b4; }
.color-dot.purple { background-color: #800080; }

.color-description {
    margin: 10px 0;
    color: #666;
    font-style: italic;
}

/* About Page Styles */
.about-section {
    padding: 140px 20px 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-content {
    background: #ffffff;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-size: 24px;
    line-height: 1.16667;
    font-weight: 600;
    letter-spacing: .009em;
    color: #1d1d1f;
    margin: 2rem 0 1rem;
}

.about-text h2:first-child {
    margin-top: 0;
}

.about-text p {
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: #1d1d1f;
    margin-bottom: 1.5rem;
}

/* Contact Page Styles */
.contact-section {
    padding: 140px 20px 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-section h1 {
    text-align: center;
    font-size: 40px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: #1d1d1f;
    margin-bottom: 2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: #ffffff;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info h2,
.contact-form h2 {
    font-size: 24px;
    line-height: 1.16667;
    font-weight: 600;
    letter-spacing: .009em;
    color: #1d1d1f;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: #1d1d1f;
    margin-bottom: 1.5rem;
}

.contact-details h3 {
    font-size: 17px;
    line-height: 1.23536;
    font-weight: 600;
    letter-spacing: -0.022em;
    color: #1d1d1f;
    margin: 1.5rem 0 0.5rem;
}

.contact-details a {
    color: #0071e3;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 17px;
    line-height: 1.23536;
}

.contact-details a:hover {
    color: #0077ED;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 14px;
    line-height: 1.33337;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #1d1d1f;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font-size: 17px;
    line-height: 1.23536;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: #1d1d1f;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0071e3;
}

.submit-button {
    background-color: #0071e3;
    color: white;
    padding: 12px 22px;
    border: none;
    border-radius: 980px;
    font-size: 17px;
    line-height: 1.17648;
    font-weight: 400;
    letter-spacing: -0.022em;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.submit-button:hover {
    background-color: #0077ED;
    transform: scale(1.02);
}

/* Products Page Styles */
.products-section {
    padding: 140px 20px 60px;
}

.products-section h1 {
    text-align: center;
    font-size: 40px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: #1d1d1f;
    margin-bottom: 2rem;
}

/* Coming Soon Watermark */
.coming-soon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    z-index: 10;
    pointer-events: none;
}

.product-gallery {
    position: relative;
}

/* Disabled button styling */
.buy-button.disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: none;
}

.buy-button.disabled:hover {
    background-color: #ccc;
    color: #666;
}

/* Sticky Buy Button */
.sticky-buy-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff9900;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px);
    pointer-events: none;
}

.sticky-buy-button.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sticky-buy-button:hover {
    background-color: #e68a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 153, 0, 0.4);
}

/* Mobile sticky button adjustments */
@media (max-width: 768px) {
    .sticky-buy-button {
        bottom: 15px;
        right: 15px;
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .sticky-buy-button {
        bottom: 10px;
        right: 10px;
        padding: 8px 14px;
        font-size: 12px;
        border-radius: 18px;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    /* Improve product card touch targets */
    .product-card {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    /* Better mobile gallery navigation */
    .gallery-nav {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Improve thumbnail scrolling on mobile */
    .gallery-thumbnails {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Better mobile form experience */
    .form-group input,
    .form-group textarea {
        -webkit-appearance: none;
        border-radius: 8px;
    }
    
    /* Prevent zoom on form focus */
    select, textarea, input[type="text"], input[type="password"], 
    input[type="datetime"], input[type="datetime-local"], 
    input[type="date"], input[type="month"], input[type="time"], 
    input[type="week"], input[type="number"], input[type="email"], 
    input[type="url"], input[type="search"], input[type="tel"], 
    input[type="color"] {
        font-size: 16px;
    }
}

/* Mobile-first improvements */
@media (max-width: 480px) {
    /* Optimize for very small screens */
    .hero {
        padding: 40px 0.5rem 20px;
    }
    
    .products-grid {
        padding: 0.75rem 0.5rem;
        gap: 1rem;
    }
    
    /* Better mobile navigation */
    .nav-links {
        padding: 0.75rem;
    }
    
    .nav-links a {
        padding: 0.75rem 0.5rem;
        font-size: 1rem;
    }
    
    /* Optimize product cards for small screens */
    .product-info {
        padding: 0.75rem;
    }
    
    .product-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .product-price {
        font-size: 0.9rem;
    }
    
    .color-text {
        font-size: 0.85rem;
    }
    
    /* Better mobile gallery */
    .gallery-main {
        height: 180px;
    }
    
    .gallery-thumbnails {
        padding: 0.5rem;
        gap: 0.25rem;
    }
    
    .thumbnail {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
    }
    
    .gallery-nav {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    /* Mobile-optimized buttons */
    .buy-button {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        min-height: 48px;
    }
} 