/* Root Variables - Logo Colors from SVG Spec */
:root {
    --primary-red: #C1121F;
    --primary-gold: #F4C430;
    --primary-blue: #0B2D5B;
    --dark-blue: #071A33;
    --silver: #BFC3C7;
    --black-ribbon: #111111;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --success: #28A745;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-md: rgba(0, 0, 0, 0.15);
    --shadow-lg: rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

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

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.nav-brand-text h1 {
    font-size: 1.5rem;
    font-family: 'Pacifico', 'Lobster', cursive;
    font-weight: 400;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
    letter-spacing: 0;
}

.nav-brand-text .tagline {
    font-size: 0.85rem;
    color: var(--primary-red);
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    font-style: normal;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.cart-link {
    background: var(--primary-blue);
    color: var(--white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-link::after {
    display: none;
}

.cart-link:hover {
    background: var(--dark-blue);
    color: var(--white) !important;
}

.cart-count {
    background: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -10px 30px rgba(0, 0, 0, 0.3);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="30" fill="rgba(255,184,28,0.1)"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 300px;
    height: 300px;
    margin: 0 auto 2rem;
    display: block;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 3.5rem;
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

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

.btn-primary:hover {
    background: #A00D25;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--white);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    letter-spacing: 2px;
}

.about-title {
    font-size: 2.5rem;
}

.about-label {
    font-family: 'Bebas Neue', 'Anton', sans-serif;
    letter-spacing: 2px;
}

.about-brand {
    font-family: 'Pacifico', 'Lobster', cursive;
    font-weight: 400;
    letter-spacing: 0;
}

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

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

.about-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-md);
}

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

.about-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: var(--white);
}

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

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: var(--white);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.product-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px var(--shadow);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-md);
}

.product-card.featured {
    border: 3px solid var(--primary-gold);
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary-red);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-badge.best-value {
    background: var(--primary-gold);
    color: var(--dark-blue);
}

.product-card h3 {
    color: var(--primary-blue);
    font-size: 1.75rem;
    margin: 1rem 0;
}

.product-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.price-detail {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.product-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--medium-gray);
    color: var(--text-dark);
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    margin-right: 0.5rem;
}

.customization-section {
    margin-top: 4rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.customization-section h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.custom-option {
    text-align: center;
}

.custom-option h4 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.custom-option p {
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
}

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

.contact-info-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-details {
    margin-top: 1.5rem;
}

.contact-detail {
    margin-bottom: 1rem;
}

.contact-detail strong {
    color: var(--primary-blue);
    display: block;
    margin-bottom: 0.25rem;
}

.contact-detail a {
    color: var(--primary-red);
    text-decoration: none;
}

.contact-detail a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--black-ribbon);
    color: var(--white);
    padding: 3rem 0 1rem;
    border-top: 3px solid var(--primary-red);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.footer-brand h3 {
    font-family: 'Pacifico', 'Lobster', cursive;
    font-weight: 400;
    font-size: 1.75rem;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    letter-spacing: 0;
}

.footer-brand p {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

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

/* Shopping Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 20px var(--shadow-lg);
    z-index: 1100;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 1.5rem;
}

.cart-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.empty-cart {
    text-align: center;
    color: var(--text-light);
    padding: 2rem;
}

.cart-item {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-info h4 {
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--primary-red);
    font-weight: 700;
}

.cart-item-remove {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.cart-item-remove:hover {
    background: #A00D25;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 2px solid var(--medium-gray);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.cart-total span:last-child {
    color: var(--primary-red);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: none;
}

.overlay.active {
    display: block;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
}

.modal-content .modal-body {
    max-height: calc(90vh - 90px);
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-header {
    padding: 1.5rem;
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 15px 15px 0 0;
    flex-shrink: 0;
}

.modal-header h2 {
    font-size: 1.5rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 2rem;
}

.order-summary {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.order-summary h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--medium-gray);
}

.order-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--primary-blue);
}

.checkout-form h3 {
    color: var(--primary-blue);
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.payment-method-option {
    display: block;
    cursor: pointer;
}

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

.payment-method-card {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.payment-method-card strong {
    display: block;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.payment-method-card p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.payment-method-option input[type="radio"]:checked + .payment-method-card {
    border-color: var(--primary-red);
    background: #fff;
    box-shadow: 0 2px 8px rgba(237, 28, 36, 0.2);
}

.payment-method-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.checkout-total {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1.5rem 0;
}

.checkout-total span:first-child {
    color: var(--primary-blue);
}

.checkout-total span:last-child {
    color: var(--primary-red);
}

.checkout-note {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin: 1rem 0;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 2rem 0;
        box-shadow: 0 10px 20px var(--shadow);
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-logo {
        width: 50px;
        height: 50px;
    }

    .nav-brand-text h1 {
        font-size: 1.1rem;
    }

    .nav-brand-text .tagline {
        font-size: 0.75rem;
    }

    .hero-logo {
        width: 225px;
        height: 225px;
    }

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

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

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

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .modal-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-logo {
        width: 180px;
        height: 180px;
    }

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

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

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

    .product-card.featured {
        transform: scale(1);
    }

    .footer-logo {
        width: 60px;
        height: 60px;
    }
}

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

.about-card,
.gallery-item,
.product-card {
    animation: fadeIn 0.6s ease forwards;
}

/* Success Message */
.success-message {
    background: var(--success);
    color: var(--white);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    margin: 1rem 0;
    display: none;
}

.success-message.active {
    display: block;
    animation: fadeIn 0.3s ease;
}
