/*
Theme Name: Aquaterias Child Theme
Theme URI: http://aquaterias.like-themes.com/
Author: Like Themes
Author URI: http://like-themes.com/
Description: Blank Child Theme for Aquaterias
Template: aquaterias
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: four-columns, right-sidebar, full-width-template
Text Domain: aquaterias

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
/* ==================== TESLA VODA - CUSTOM SHOP TEMPLATE ==================== */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&display=swap');

:root {
    --royal-blue: #001176;
    --light-blue: #E9F6FE;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
}

/* ==================== HERO HEADER ==================== */
.tesla-shop-hero {
    position: relative;
    min-height: 500px;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../../../uploads/2026/01/front_back.jpg') center/cover no-repeat;
    margin-bottom: 0;
    overflow: hidden;
}

.tesla-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 17, 118, 0.7), rgba(0, 50, 100, 0.7));
    z-index: 1;
}

.tesla-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.tesla-hero-title {
    font-family: 'Raleway', sans-serif !important;
    font-size: 56px !important;
    font-weight: 700 !important;
    color: white !important;
    text-transform: uppercase !important;
    margin-bottom: 20px !important;
    letter-spacing: 2px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.tesla-hero-subtitle {
    font-family: 'Raleway', sans-serif !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    color: #E9F6FE !important;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ==================== SHOP WRAPPER ==================== */
.tesla-shop-wrapper {
    padding: 80px 0;
    background: #fafafa;
}

/* ==================== TOOLBAR ==================== */
.tesla-shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.woocommerce-result-count {
    font-family: 'Raleway', sans-serif !important;
    font-size: 16px;
    color: var(--text-gray);
    font-weight: 500;
    margin: 0;
}

.woocommerce-ordering select {
    font-family: 'Raleway', sans-serif !important;
    padding: 12px 18px;
    border: 2px solid rgba(0, 17, 118, 0.15);
    border-radius: 8px;
    background: white;
    color: var(--royal-blue);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce-ordering select:focus {
    border-color: var(--royal-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 17, 118, 0.1);
}

/* ==================== PRODUCTS GRID ==================== */
.tesla-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1400px;
}

.tesla-products-grid .products {
    display: contents;
}

/* ==================== PRODUCT CARD ==================== */
.tesla-product-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 17, 118, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tesla-product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 17, 118, 0.15);
}

/* Product Image */
.tesla-product-image {
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 10px;
}

.tesla-product-image img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
    border-radius: 10px;
}

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

/* Product Info */
.tesla-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Product Title */
.tesla-product-title {
    font-family: 'Raleway', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--royal-blue) !important;
    text-transform: uppercase !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.3;
}

.tesla-product-title a {
    color: var(--royal-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tesla-product-title a:hover {
    color: #003399;
}

/* Product Description */
.tesla-product-description {
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

/* Product Price */
.tesla-product-price {
    font-family: 'Raleway', sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: var(--royal-blue) !important;
    margin: 20px 0 25px 0;
}

.tesla-product-price .woocommerce-Price-amount {
    font-family: 'Raleway', sans-serif !important;
}

/* Add to Cart Button */
.tesla-product-actions {
    margin-top: auto;
}

.tesla-product-card .button,
.tesla-product-card .add_to_cart_button {
    font-family: 'Raleway', sans-serif !important;
    padding: 15px 35px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    border: 2px solid var(--royal-blue) !important;
    background: transparent !important;
    color: var(--royal-blue) !important;
    display: block !important;
    width: 100% !important;
    text-decoration: none !important;
    cursor: pointer;
}

.tesla-product-card .button:hover,
.tesla-product-card .add_to_cart_button:hover {
    background: var(--royal-blue) !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 17, 118, 0.3);
}

/* ==================== PAGINATION ==================== */
.tesla-shop-pagination {
    margin-top: 60px;
    text-align: center;
}

.tesla-shop-pagination .woocommerce-pagination {
    font-family: 'Raleway', sans-serif;
}

.tesla-shop-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: white;
    border: 2px solid rgba(0, 17, 118, 0.15);
    border-radius: 5px;
    color: var(--royal-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.tesla-shop-pagination .page-numbers:hover,
.tesla-shop-pagination .page-numbers.current {
    background: var(--royal-blue);
    color: white;
    border-color: var(--royal-blue);
}

/* ==================== NO PRODUCTS ==================== */
.tesla-no-products {
    text-align: center;
    padding: 100px 20px;
}

.tesla-no-products .woocommerce-info {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    color: var(--text-gray);
}

/* ==================== RESPONSIVE ==================== */

/* Tablet - 2 kolone */
@media (max-width: 1024px) {
    .tesla-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .tesla-hero-title {
        font-size: 42px !important;
    }
    
    .tesla-hero-subtitle {
        font-size: 18px !important;
    }
}

/* Mobilni - 1 kolona */
@media (max-width: 768px) {
    .tesla-shop-hero {
        min-height: 350px;
        height: 40vh;
    }
    
    .tesla-hero-title {
        font-size: 32px !important;
    }
    
    .tesla-hero-subtitle {
        font-size: 16px !important;
    }
    
    .tesla-shop-wrapper {
        padding: 50px 0;
    }
    
    .tesla-products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .tesla-product-card {
        padding: 30px 20px;
    }
    
    .tesla-product-title {
        font-size: 18px !important;
    }
    
    .tesla-product-price {
        font-size: 26px !important;
    }
    
    .tesla-shop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Extra mali ekrani */
@media (max-width: 480px) {
    .tesla-hero-title {
        font-size: 24px !important;
    }
    
    .tesla-hero-subtitle {
        font-size: 14px !important;
    }
    
    .tesla-products-grid {
        padding: 0 10px;
        gap: 20px;
    }
}
