/* NİFTEPE Ana Sayfa CSS */

/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #2d5016;
    --success-color: #28a745;
    --hover-color: #31582b;
    --gold-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --olive-gradient: linear-gradient(135deg, #2d5016 0%, #4a7c59 50%, #2d5016 100%);
    --transition-default: 0.3s ease;
    --transition-slow: 0.5s ease;
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.3);
    --text-shadow-light: 1px 1px 2px rgba(0, 0, 0, 0.5);
    --text-shadow-medium: 2px 2px 4px rgba(0, 0, 0, 0.8);
    --text-shadow-heavy: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 40vh;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 3;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.hero-content-inner {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-content-inner h1 {
    text-shadow: var(--text-shadow-light);
}

.hero-text {
    line-height: 1.8;
}

.hero-content-inner .hero-text {
    text-shadow: var(--text-shadow-light);
    font-size: 1.2rem;
    line-height: 1.8;
}

/* ===== VIDEO BACKGROUND ===== */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-container {
    position: relative;
    overflow: hidden;
    min-height: 60vh;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    min-height: 60vh;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.1);
}

/* ===== VIDEO OVERLAY ===== */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: -1;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.overlay-content {
    color: white;
    text-shadow: var(--text-shadow-medium);
    position: relative;
    z-index: -1;
}

.overlay-content h1 {
    text-shadow: var(--text-shadow-heavy);
    font-weight: bold;
    color: white;
}

.overlay-content p {
    text-shadow: var(--text-shadow-heavy);
    color: white;
}

.overlay-content .btn {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ===== CUSTOM ELEMENTS ===== */
.custom-title {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.custom-text {
    font-size: clamp(0.9rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    max-width: 100%;
}

.custom-button {
    font-size: clamp(0.8rem, 2vw, 1rem);
    padding: clamp(0.5rem, 2vw, 1rem) clamp(1rem, 3vw, 2rem);
    white-space: nowrap;
}

/* ===== FULL WIDTH SECTIONS ===== */
.full-width-section {
    width: 100%;
    margin: 0;
    padding: 2rem 0;
}

.full-width-section .container {
    max-width: 100%;
    padding: 0 2rem;
}

/* ===== NAVIGATION ===== */
.navbar-overlay {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: transparent;
    border-radius: 0;
    transition: transform var(--transition-default), box-shadow var(--transition-default);
    height: 250px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(45, 80, 22, 0.4);
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    transition: transform var(--transition-default), box-shadow var(--transition-default), border-color var(--transition-default);
    border: 2px solid transparent;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.product-card:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.product-card .btn:hover {
    background-color: var(--hover-color);
    border-color: var(--hover-color);
    color: white;
    transform: translateY(-2px);
}

/* ===== PRODUCTS SLIDER ===== */
.products-slider {
    position: relative;
    margin-bottom: 3rem;
}

.slider-container {
    overflow: hidden;
    position: relative;
}

.slider-track {
    position: relative;
    width: 100%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow);
}

.slider-slide.active {
    opacity: 1;
    visibility: visible;
}

.product-slide-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-image {
    max-width: 300px;
    margin: 0 auto;
}

.product-image img {
    width: 100%;
    height: auto;
    box-shadow: var(--shadow-medium);
    transition: transform var(--transition-default);
}

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

.product-title {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 2.2rem;
    text-shadow: var(--text-shadow-light);
}

.product-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.product-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--success-color);
    text-shadow: var(--text-shadow-light);
}

.price-unit {
    font-size: 1.1rem;
    color: #888;
    font-weight: 500;
}

/* ===== SLIDER CONTROLS ===== */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 2rem;
}

.slider-btn {
    background: var(--success-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-default);
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: #1a3d0f;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all var(--transition-default);
}

.dot.active {
    background: var(--success-color);
    transform: scale(1.2);
}

/* ===== FLOATING BUTTONS ===== */
.floating-elements {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    transition: transform var(--transition-default);
    z-index: 1000;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn.cart {
    background: var(--success-color);
}

.floating-btn.whatsapp {
    background: #25D366;
    z-index: 9999;
    position: relative;
}

.floating-btn.whatsapp,
.floating-btn.whatsapp *,
.floating-btn.whatsapp a,
.floating-btn.whatsapp i {
    z-index: 9999;
    position: relative;
}

/* ===== ANIMATIONS ===== */
.medallion {
    width: 120px;
    height: 120px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-heavy);
    animation: float 3s ease-in-out infinite;
}

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

.bottle {
    width: 200px;
    height: 300px;
    background: var(--olive-gradient);
    border-radius: 100px 100px 20px 20px;
    position: relative;
    box-shadow: var(--shadow-heavy);
    animation: bottleFloat 4s ease-in-out infinite;
}

@keyframes bottleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

/* ===== PRODUCT DISPLAY ===== */
.product-display {
    position: relative;
}

.bottle-container {
    position: relative;
    display: inline-block;
}

.bottle-label {
    position: absolute;
    top: 50px;
    left: 20px;
    right: 20px;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow-medium);
}

.bottle-cap {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    background: #8B4513;
    border-radius: 30px 30px 0 0;
}

/* ===== TOP BANNER ===== */
.top-banner {
    background: var(--gold-gradient);
}

/* ===== QUALITY SECTION ===== */
.quality-image {
    text-align: center;
}

/* ===== DECORATIVE ELEMENTS ===== */
.decorative-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 0 auto;
    max-width: 200px;
}

.line-dot {
    width: 8px;
    height: 8px;
    background-color: #d4af37;
    border-radius: 50%;
    flex-shrink: 0;
}

.line {
    height: 2px;
    background-color: #d4af37;
    flex-grow: 1;
    max-width: 120px;
}

/* ===== CTA SECTION ===== */
.cta-section .btn:hover {
    background-color: var(--hover-color);
    color: white;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .video-container {
        min-height: 50vh;
    }
    
    .video-container video {
        min-height: 50vh;
    }
    
    .video-overlay {
        padding: 1rem 0;
    }
    
    .overlay-content {
        text-align: center;
    }
    
    .custom-title {
        text-align: center;
    }
    
    .custom-text {
        text-align: center;
    }
    
    .custom-button {
        display: block;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .hero-content {
        min-height: 60vh;
    }
    
    .bottle {
        width: 150px;
        height: 225px;
    }
    
    .medallion {
        width: 80px;
        height: 80px;
    }
    
    .decorative-line {
        max-width: 150px;
    }
    
    .line {
        max-width: 80px;
    }
    
    .product-card {
        margin-bottom: 2rem;
    }
    
    .feature-card {
        height: 200px;
        margin-bottom: 1rem;
    }
    
    .cta-section {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .video-container {
        min-height: 40vh;
    }
    
    .video-container video {
        min-height: 40vh;
    }
    
    .video-overlay {
        padding: 0.5rem 0;
    }
    
    .overlay-content {
        padding: 0 1rem;
    }
    
    .custom-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .custom-text {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .custom-button {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .product-card {
        margin-bottom: 1rem;
    }
    
    .feature-card {
        height: 180px;
        padding: 1rem;
    }
    
    .floating-elements {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
    }
}