:root {
    /* Premium Palette */
    --bg-light: #F5F5F7;
    /* Apple-like soft grey */
    --text-dark: #1D1D1F;
    --action-red: #0071E3;
    /* Switching to a premium 'Action Blue' or keep red? User said 'Premium'. Let's go Deep Navy/Gold or sleek Monochrome. Let's try Deep Navy & Bronze/Gold accent or just pure B&W with a punch color. Let's use a "Vibrant Blue" for action to replace generic red, or a "Terracotta". Let's stick to the user's "uyumlu" request. Let's go with a 'Slate & Earth' palette */
    --trust-navy: #1a1a1a;
    /* Almost black */
    --accent-gold: #c6a45e;
    --success-green: #32d74b;
    --border-soft: #d2d2d7;
    --font-main: 'Outfit', sans-serif;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Announcement Bar */
.announcement-bar {
    background: var(--trust-navy);
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-soft);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--trust-navy);
    letter-spacing: -1px;
}

.highlight {
    color: var(--action-red);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links>a {
    color: var(--trust-navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav-links>a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--action-red);
    transition: width 0.3s;
}

.nav-links>a:hover::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.icon-btn {
    color: var(--trust-navy);
    font-size: 1.2rem;
    transition: transform 0.2s;
    position: relative;
}

.icon-btn:hover {
    transform: scale(1.1);
    color: var(--action-red);
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--action-red);
    color: white;
    font-size: 0.65rem;
    padding: 2px 5px;
    border-radius: 50%;
    font-weight: 700;
}

/* Mobile Menu & Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--trust-navy);
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    z-index: 2000;
    padding: 2rem;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
    transform: translateX(0);
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    cursor: pointer;
}

.mobile-link {
    display: block;
    font-size: 1.2rem;
    color: var(--trust-navy);
    text-decoration: none;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

/* Hero Section */
.hero {
    height: 90vh;
    /* Taller hero */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
    color: white;
    /* Text needs to be white on images */
}

/* Overlay for readibility */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeUp 0.8s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-sub {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero.fade-in .hero-content {
    animation: fadeContent 1s ease-out;
}

@keyframes fadeContent {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Filter Buttons - Premium Style */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border: 1px solid var(--border-soft);
    background: transparent;
    color: var(--trust-navy);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    /* Pill shape */
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--trust-navy);
    z-index: -1;
    transition: width 0.3s ease;
    border-radius: 50px;
}

.filter-btn:hover {
    color: white;
    border-color: var(--trust-navy);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.filter-btn:hover::before {
    width: 100%;
}

.filter-btn.active {
    background: var(--trust-navy);
    color: white;
    border-color: var(--trust-navy);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Category Animations */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.1s linear;
    box-shadow: var(--shadow-soft);
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
}

.product-card:not(:hover) {
    transition: transform 0.5s ease;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
}

.product-image {
    height: 380px;
    width: 100%;
    background-color: #f1f2f6;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

/* Wishlist Button */
.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.product-card:hover .wishlist-btn {
    opacity: 1;
    transform: translateY(0);
}

.wishlist-btn.active i {
    animation: heartPop 0.4s forwards;
}

@keyframes heartPop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

/* Quick Sizes */
.quick-sizes {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.product-card:hover .quick-sizes {
    transform: translateY(0);
}

.quick-sizes button {
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.quick-sizes button:hover {
    background: white;
    color: black;
}

.stock-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--action-red);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.4);
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--trust-navy);
}

.price {
    color: #636e72;
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.add-btn {
    width: 100%;
    padding: 0.9rem;
    background: white;
    border: 1px solid var(--trust-navy);
    color: var(--trust-navy);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.add-btn:hover {
    background: var(--trust-navy);
    color: white;
}

/* Footer */
footer {
    padding: 4rem 10%;
    background: var(--trust-navy);
    color: white;
    text-align: center;
    margin-top: 6rem;
}

.footer-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 900px;
    border-radius: 20px;
    position: relative;
    display: flex;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(50px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--trust-navy);
    z-index: 10;
}

.modal-body {
    display: flex;
    width: 100%;
}

.modal-image {
    flex: 1;
    background-size: cover;
    background-position: center;
}

.modal-details {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-title {
    font-size: 2rem;
    color: var(--trust-navy);
    margin-bottom: 0.5rem;
}

.modal-price {
    font-size: 1.5rem;
    color: var(--action-red);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.modal-desc {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-sizes {
    margin-bottom: 2rem;
}

.modal-sizes span {
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.size-options {
    display: flex;
    gap: 1rem;
}

.size-options button {
    padding: 0.5rem 1.2rem;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}

.size-options button:hover {
    background: var(--trust-navy);
    color: white;
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 4000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(50px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 600;
    color: var(--trust-navy);
    border-left: 5px solid transparent;
}

.toast.success {
    border-left-color: var(--success-green);
}

.toast.info {
    border-left-color: #3498db;
}

.toast.success i {
    color: var(--success-green);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

/* Checkout Page Specific Styles */
.checkout-body {
    background: #fdfdfd;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    border-bottom: 1px solid var(--border-soft);
    background: white;
}

.secure-badge {
    color: var(--success-green);
    font-weight: 600;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.checkout-container {
    display: flex;
    gap: 4rem;
    padding: 3rem 10%;
    max-width: 1400px;
    margin: 0 auto;
}

.checkout-forms {
    flex: 2;
}

.form-title {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: var(--trust-navy);
}

.form-group {
    margin-bottom: 1rem;
    position: relative;
}

.form-group.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: all 0.3s;
    background: white;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--trust-navy);
    box-shadow: 0 0 0 3px rgba(30, 39, 46, 0.1);
}

.checkout-summary {
    flex: 1;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 2rem;
    border: 1px solid var(--border-soft);
}

.summary-items {
    margin: 1.5rem 0;
    max-height: 400px;
    overflow-y: auto;
}

.summary-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.item-img {
    width: 70px;
    height: 70px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    background-color: #ddd;
}

.item-details h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.item-details p {
    font-size: 0.85rem;
    color: #888;
}

.summary-totals .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.summary-totals .total {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--trust-navy);
    border-top: 2px solid #ddd;
    padding-top: 1rem;
    margin-top: 1rem;
}

.pay-button {
    width: 100%;
    padding: 1.2rem;
    background: var(--action-red);
    color: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 2rem;
    transition: background 0.3s;
}

.pay-button:hover {
    background: var(--action-hover);
}

.secure-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .announcement-bar {
        font-size: 0.7rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .trust-badges {
        flex-direction: column;
        gap: 1.5rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }

    .product-image {
        height: 220px;
    }

    .quick-sizes {
        display: none;
    }

    /* Mobile Menu Logic */
    .nav-links {
        display: none;
    }

    /* Hide standard nav */
    .menu-toggle {
        display: block;
    }

    .nav-icons {
        display: none;
    }

    /* Hide icons in header, move to menu */

    .checkout-container {
        flex-direction: column;
        padding: 1rem 5%;
        gap: 2rem;
    }

    .form-group.two-col {
        grid-template-columns: 1fr;
    }

    /* Modal Mobile */
    .modal-content {
        flex-direction: column;
        height: 90vh;
        overflow-y: auto;
    }

    .modal-image {
        height: 300px;
        flex: none;
    }

    .modal-details {
        padding: 1.5rem;
    }
}