/* 
* Kuzeysu - Premium Su Arıtma Sistemleri
* Ana Stil Dosyası
* Ultra Modern ve Şık Tasarım
*/

/* ===== REFERRAL POINTS SYSTEM ===== */
.referral-points {
    padding: 80px 0;
    background-color: var(--light-blue);
    position: relative;
    overflow: hidden;
}

.referral-points::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(0, 136, 204, 0.1);
    z-index: 1;
}

.referral-points::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(0, 198, 255, 0.1);
    z-index: 1;
}

.referral-points-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.referral-points-card {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    padding: 30px;
    flex: 1 1 300px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.referral-points-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.referral-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.referral-icon i {
    font-size: 36px;
    color: var(--white);
}

.referral-content {
    width: 100%;
}

.referral-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.referral-points-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin: 10px 0;
}

.rewards-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.rewards-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 5px;
    font-size: 15px;
}

.reward-points {
    font-weight: 600;
    color: var(--primary);
    margin-right: 5px;
}

.referral-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .referral-points-container {
        flex-direction: column;
        align-items: center;
    }
    
    .referral-points-card {
        max-width: 100%;
    }
}

/* ===== MODAL STYLES ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 600px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
    margin: auto;
}

.product-detail-modal {
    max-width: 800px;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--dark);
    font-weight: 600;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.2s ease;
}

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

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

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

/* ===== LEADERBOARD STYLES ===== */
.leaderboard-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
}

.leaderboard-table thead {
    background-color: var(--primary);
    color: var(--white);
}

.leaderboard-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
}

.leaderboard-table th:first-child {
    width: 50px;
    text-align: center;
}

.leaderboard-table th:last-child {
    width: 80px;
    text-align: right;
}

.leaderboard-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--light-gray);
}

.leaderboard-table tr:last-child td {
    border-bottom: none;
}

.leaderboard-table tr:hover {
    background-color: var(--light-gray);
}

.leaderboard-table td:first-child {
    font-weight: 600;
    color: var(--dark);
    text-align: center;
}

.leaderboard-table td:last-child {
    text-align: right;
    font-weight: 500;
    color: var(--primary);
}

.leaderboard-note {
    margin-top: 20px;
    padding: 15px;
    background-color: var(--light-blue);
    border-radius: 8px;
    font-size: 14px;
    color: var(--dark-gray);
}

.leaderboard-note i {
    color: var(--info);
    margin-right: 5px;
}

/* ===== PRODUCT DETAIL STYLES ===== */
.product-detail-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.product-detail-image {
    flex: 1 1 300px;
    max-width: 400px;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    object-fit: cover;
}

.product-detail-info {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-detail-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 10px 0;
}

.product-detail-sku {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 10px;
}

.product-detail-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin: 10px 0;
}

.product-detail-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    margin: 10px 0;
}

.product-detail-stock.in-stock {
    color: var(--success);
}

.product-detail-stock.low-stock {
    color: var(--warning);
}

.product-detail-stock.out-of-stock {
    color: var(--danger);
}

.product-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
}

.product-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--dark-gray);
}

.product-detail-actions {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

/* ===== GENEL AYARLAR ===== */
:root {
    /* Ana Renkler */
    --primary: #0088cc;
    --primary-dark: #006699;
    --primary-light: #33aadd;
    --secondary: #00c6ff;
    --accent: #0fe4ff;
    --dark-blue: #005792;
    --light-blue: #e3f4ff;
    
    /* Nötr Renkler */
    --white: #ffffff;
    --light: #f8f9fa;
    --light-gray: #edf2f7;
    --medium: #a0aec0;
    --gray: #718096;
    --dark-gray: #2d3748;
    --dark: #1a202c;
    --black: #000000;
    
    /* Fonksiyonel Renkler */
    --success: #38b2ac;
    --warning: #f6ad55;
    --danger: #e53e3e;
    --info: #4299e1;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --primary-gradient-dark: linear-gradient(135deg, var(--primary-dark), var(--primary));
    --blue-gradient: linear-gradient(135deg, #0088cc, #00c6ff);
    --glass-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
    
    /* Gölgeler */
    --shadow-xs: 0 0 0 1px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --shadow-primary: 0 10px 15px -3px rgba(0, 136, 204, 0.3);
    
    /* Tipografi */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    /* Geçişler */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Border Radius */
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-xxl: 24px;
    --radius-full: 9999px;
}

/* ===== RESET & BASE STYLES ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition-normal);
}

a:hover {
    color: var(--primary-dark);
}

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

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

button {
    cursor: pointer;
    background: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.water-drop {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.water-drop svg {
    color: var(--primary);
    animation: pulse 1.5s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 8px rgba(0, 136, 204, 0.5));
}

.ripple {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: ripple 1.5s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes ripple {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.header.scrolled {
    padding: 0.75rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    box-shadow: var(--shadow-primary);
}

.logo-text {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-dark);
    letter-spacing: 1px;
}

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

.nav-link {
    position: relative;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-gray);
    padding: 0.5rem 0;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-normal);
    opacity: 0;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    opacity: 1;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    cursor: pointer;
}

.btn-icon {
    padding: 0.75rem;
    position: relative;
    color: var(--dark-gray);
    font-size: 1.25rem;
    background-color: transparent;
    border-radius: var(--radius-full);
}

.btn-icon:hover {
    color: var(--primary);
    background-color: var(--light-gray);
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    box-shadow: var(--shadow-primary);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-normal);
}

/* Mobil menü kapanma butonu */
.mobile-menu-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
}

/* Mobil Görünüm */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 4rem 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .navbar.active {
        right: 0;
    }
    
    .navbar.active .mobile-menu-close {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-item {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .nav-link {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 5rem 0;
    background-color: var(--light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray-dark);
    line-height: 1.6;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 5rem 0;
    background-color: var(--light);
}

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

.contact-container {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

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

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.contact-info-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-light), transparent);
}

.contact-info-icon {
    color: var(--primary);
    font-size: 2rem;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 600;
}

.contact-info-content p {
    color: var(--gray-dark);
    line-height: 1.6;
    font-size: 1.1rem;
}

.contact-form-column {
    flex: 1;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row .form-group {
    flex: 1;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    border-bottom: 2px solid var(--gray-light);
    background-color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--gray);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-block {
    display: block;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive styles for about and contact sections */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .contact-info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-info-icon {
        margin-bottom: 0.5rem;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    background-color: var(--light-blue);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/wave-pattern.svg');
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--dark-blue);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.hero-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 198, 255, 0.2) 0%, rgba(0, 136, 204, 0.1) 50%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: blur(30px);
    animation: pulse 8s ease-in-out infinite alternate;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== PRODUCTS SECTION ===== */
.products {
    background-color: var(--white);
    padding: 6rem 0;
}

.product-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--light-gray);
    border-radius: var(--radius-full);
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    border: none;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-primary);
    transform: translateY(-2px);
}

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

.product-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--light-gray);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.8rem;
    background: var(--primary-gradient);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.product-badge.out-of-stock {
    background: linear-gradient(135deg, var(--danger), #c0392b);
}

.product-badge.filter {
    background: linear-gradient(135deg, var(--info), var(--primary-dark));
}

.product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
    line-height: 1.4;
}

.product-sku {
    font-size: 0.8rem;
    color: var(--medium);
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-price .currency {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--medium);
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.in-stock {
    color: var(--success);
}

.low-stock {
    color: var(--warning);
}

.out-of-stock {
    color: var(--danger);
}

.product-meta {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.product-warranty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--medium);
}

.product-warranty i {
    color: var(--primary);
}

.product-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.product-btn {
    flex: 1;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s cubic-bezier(0.33, 1, 0.68, 1);
}

.btn-view {
    background-color: var(--light-gray);
    color: var(--dark);
}

.btn-view:hover {
    background-color: var(--gray);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-cart {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-cart:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* ===== LOADING SPINNER ===== */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    width: 100%;
    grid-column: 1 / -1;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 136, 204, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark);
    color: var(--light);
    padding-top: 4rem;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo p {
    color: var(--medium);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--medium);
    transition: var(--transition-normal);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--medium);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--primary);
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--white);
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
}

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

.footer-bottom p {
    color: var(--medium);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.modal-header h3 {
    margin-bottom: 0;
    color: var(--dark-blue);
    font-weight: 700;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition-normal);
}

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

.modal-body {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* ===== CART STYLES ===== */
.cart-items {
    max-height: 50vh;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}

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

.cart-empty i {
    font-size: 3rem;
    color: var(--light-gray);
    margin-bottom: 1rem;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

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

.quantity-input {
    width: 40px;
    height: 30px;
    text-align: center;
    border: none;
    background-color: var(--white);
}

.remove-item {
    color: var(--danger);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.remove-item:hover {
    transform: scale(1.2);
}

.cart-summary {
    padding: 1rem 0;
    border-top: 1px solid var(--light-gray);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
}

/* ===== FORM STYLES ===== */
.installation-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

label {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

input, textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    background-color: var(--white);
    font-family: var(--font-secondary);
    transition: var(--transition-normal);
}

input:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.installation-items {
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-top: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
}

.installation-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.installation-item:last-child {
    border-bottom: none;
}

.installation-item-details {
    flex: 1;
}

.installation-item-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.installation-item-quantity {
    font-size: 0.9rem;
    color: var(--medium);
}

/* ===== NOTIFICATION ===== */
.notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification.success {
    border-left: 4px solid var(--success);
}

.notification.warning {
    border-left: 4px solid var(--warning);
}

.notification.danger {
    border-left: 4px solid var(--danger);
}

.notification.info {
    border-left: 4px solid var(--info);
}

.notification i {
    font-size: 1.5rem;
}

/* ===== FAULT BUTTON ===== */
.fault-button {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--danger);
    color: var(--white);
    border: none;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    padding: 10px;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.fault-button:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 8px 20px rgba(229, 62, 62, 0.4);
}

.fault-button i {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.fault-button span {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

/* @keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(229, 62, 62, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0);
    }
} */

.notification.success i {
    color: var(--success);
}

.notification.warning i {
    color: var(--warning);
}

.notification.danger i {
    color: var(--danger);
}

.notification.info i {
    color: var(--info);
}

.notification p {
    margin: 0;
    font-weight: 500;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-image img {
        max-width: 90%;
    }
}

@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 500px;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 2rem;
        z-index: 1001;
        transition: var(--transition-normal);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .navbar.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .product-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 1rem;
        justify-content: flex-start;
    }
    
    .filter-btn {
        white-space: nowrap;
    }
    
    .notification {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        width: calc(100% - 2rem);
    }
}
