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

:root {
    --primary-color: #4A90E2;
    --secondary-color: #357ABD;
    --light-bg: #E8F4FD;
    --accent-color: #5BA3F0;
    --dark-color: #2C5F8A;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --gray: #F5F5F5;
    --border-color: #DDDDDD;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    padding-top: 80px;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

header.hidden {
    transform: translateY(-100%);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.3s;
}

.logo-section:hover {
    opacity: 0.8;
}

.logo {
    height: 50px;
    width: auto;
}

.company-name {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Navigation */
.main-nav {
    position: relative;
}

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

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #E8F4FD, #D6EBF5);
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-video {
    max-width: 800px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    background-color: var(--white);
}

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

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

.feature-card {
    background: linear-gradient(135deg, #E8F4FD, #F0F8FF);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

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

/* Colors Showcase */
.colors-showcase {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--white), #E8F4FD);
}

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

.color-gallery {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.color-item {
    text-align: center;
    cursor: pointer;
    transition: opacity 0.2s;
}

.color-item:hover {
    opacity: 0.8;
}

.color-item img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.color-item img:hover {
    transform: scale(1.05);
}

.color-item p {
    margin-top: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.cta-section {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--text-light), var(--text-dark));
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
}

/* Product Page */
.product-page {
    padding: 4rem 2rem;
    min-height: calc(100vh - 80px + 200px);
    padding-bottom: 6rem;
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-image-section img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.product-info-section h1 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

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

.price-section {
    margin-bottom: 2rem;
}

.price {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 2rem;
}

.quantity-selection {
    margin-bottom: 2rem;
}

.quantity-selection h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 200px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 5px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.quantity-input {
    width: 80px;
    height: 40px;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.color-selection {
    margin-bottom: 2rem;
}

.color-selection h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.color-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.color-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    border: 3px solid transparent;
}

.color-circle:hover {
    transform: scale(1.1);
}

.color-circle.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--light-bg);
}

.purchase-section {
    margin-top: 2rem;
}

/* Checkout Page */
.checkout-page {
    padding: 2rem;
    background-color: var(--gray);
}

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

.checkout-container h1 {
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.checkout-info {
    margin-bottom: 2rem;
}

.info-box {
    background: linear-gradient(135deg, #E8F4FD, #F0F8FF);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

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

.checkout-form-section {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.checkout-form-section h2 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.checkout-form-section h2:first-child {
    margin-top: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.payment-methods {
    margin: 2rem 0;
}

.payment-option {
    margin-bottom: 1rem;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option input[type="radio"]:checked + .payment-label {
    border-color: var(--primary-color);
    background-color: var(--light-bg);
}

.payment-logo {
    height: 30px;
    width: auto;
}

.credit-card-icons {
    font-size: 2rem;
}

.credit-card-fields {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

/* PayPal Button Container */
#paypal-button-container {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    min-height: 50px;
}

#paypal-button-container p {
    padding: 1rem;
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 5px;
    color: #856404;
}

.order-summary {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.order-summary h2 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.summary-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.summary-details h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.summary-details p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.summary-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-per-unit-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: normal;
}

.summary-total {
    margin-top: 1.5rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.total-row.total {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-color);
    border-top: 2px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Thank You Page */
.thank-you-page {
    padding: 4rem 2rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-container {
    max-width: 600px;
    text-align: center;
}

.thank-you-content {
    background: linear-gradient(135deg, #E8F4FD, #F0F8FF);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.checkmark {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
}

.thank-you-content h1 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.thank-you-message {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Legal Pages */
.legal-page {
    padding: 2rem;
    background-color: var(--gray);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.legal-container h1 {
    color: var(--dark-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.legal-container h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-container section {
    margin-bottom: 2rem;
}

.legal-container ul {
    margin-left: 2rem;
    margin-top: 0.5rem;
}

.legal-container a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-container a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-color), var(--secondary-color));
    color: var(--white);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .company-name {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        flex-direction: column;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .product-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .checkout-content {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .thank-you-actions {
        flex-direction: column;
    }

    .thank-you-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 1rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .features,
    .colors-showcase {
        padding: 2rem 1rem;
    }

    .product-page,
    .checkout-page,
    .legal-page {
        padding: 1rem;
    }

    .checkout-form-section,
    .order-summary {
        padding: 1.5rem;
    }

    .legal-container {
        padding: 2rem 1.5rem;
    }
}

