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

:root {
    --primary-color: #1a3a52;
    --secondary-color: #c9a961;
    --accent-color: #2c5f7c;
    --dark-color: #0f1e2e;
    --light-color: #f8f9fa;
    --text-color: #2c3e50;
    --border-color: #d1d5db;
    --corporate-blue: #003d5b;
    --hospitality-gold: #d4af37;
}

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

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

/* Header Styles */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
}

.logo h1 span {
    color: var(--secondary-color);
    font-weight: 400;
}

.tagline {
    font-size: 0.75rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
    opacity: 0.8;
}

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

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 100px;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--light-color) 0%, #E8DFD3 100%);
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 300;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.sample-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.sample-btn:hover {
    background: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Products Section */
.products-section {
    padding: 5rem 0;
    background: white;
}

.products-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem;
}

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

.product-color {
    width: 100%;
    height: 150px;
    border-radius: 5px;
    margin-bottom: 1rem;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
}

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

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

.product-card h3 {
    font-size: 0.9rem;
    color: var(--dark-color);
    margin: 0.5rem 0;
    min-height: 2.5em;
    line-height: 1.3;
    font-weight: 500;
}

.product-collection {
    color: var(--primary-color);
    font-size: 0.85rem;
    margin: 0.2rem 0;
    font-style: italic;
}

.product-card .sku {
    color: var(--dark-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.product-card .price {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.75rem;
}

.hex-display {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: rgba(255,255,255,0.9);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-family: monospace;
}

/* Loading Indicator */
.loading-indicator {
    text-align: center;
    padding: 2rem;
}

.spinner {
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Specifications Section */
.specifications-section {
    padding: 5rem 0;
    background: white;
}

.specifications-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

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

.spec-item {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.spec-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Installation Section */
.installation-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.installation-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.installation-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.installation-tips {
    background: white;
    padding: 2rem;
    border-radius: 10px;
}

.installation-tips h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.installation-tips ul {
    list-style-position: inside;
    color: var(--text-color);
}

.installation-tips li {
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: white;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.contact-section > p {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    font-style: italic;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    text-align: center;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.exclusive-text {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-top: 0.5rem;
    font-style: italic;
}

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

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

.modal-content {
    background-color: white;
    margin: 1% auto;
    padding: 1rem;
    padding-bottom: 1.25rem;
    border-radius: 10px;
    width: 90%;
    max-width: 650px;
    height: auto;
    max-height: 96vh;
    overflow-y: auto;
    animation: slideDown 0.3s;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--dark-color);
}

.selected-product {
    background: var(--light-color);
    padding: 0.75rem;
    border-radius: 5px;
    margin-bottom: 0.75rem;
    display: none;
}

.selected-product.active {
    display: block;
}


/* Form Styles */
#sampleForm {
    margin-top: 0.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

#sampleForm input,
#sampleForm textarea {
    width: 100%;
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 0.9rem;
    line-height: 1.2;
}

#sampleForm textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: var(--dark-color);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    body {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }

    .nav-container {
        padding: 1rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 0.75rem;
        border-bottom: 1px solid #eee;
    }

    .mobile-toggle {
        display: flex;
        padding: 10px;
        -webkit-tap-highlight-color: transparent;
    }

    .hero {
        padding: 100px 20px 40px;
    }

    .hero h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

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

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.75rem;
        padding: 0 0.5rem;
    }

    .product-card {
        -webkit-tap-highlight-color: transparent;
    }

    .product-card h3 {
        font-size: 0.85rem;
    }

    .product-card p {
        font-size: 0.8rem;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1rem;
    }

    .features-grid,
    .specs-grid,
    .installation-content {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 40px 0;
    }
}