/* ==========================================================================
   Rönesans Ambalaj & Temizlik Ürünleri - Custom Premium CSS
   Inspired by Weiboo Wooden Furniture Template
   ========================================================================== */

:root {
    /* Brand Colors */
    --primary-color: #274e44;
    /* Dark Green from Logo */
    --primary-light: #3a7566;
    --secondary-color: #85b2c9;
    /* Light Blue from Logo */
    --secondary-dark: #6a9eb8;

    /* Neutral Colors */
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --bg-light: #f8f9fa;
    --bg-soft: #f4f6f8;
    --white: #ffffff;
    --border-color: #eaeaea;

    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;

    /* Shadows & Transitions */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h1,
h2 {
    font-family: var(--font-heading);
}

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

a:hover {
    color: var(--secondary-color);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 0;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--secondary-color);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary-custom:hover {
    color: var(--white);
}

.btn-primary-custom:hover::before {
    width: 100%;
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 28px;
    border-radius: 0;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.top-bar a {
    color: var(--white);
}

.top-bar a:hover {
    color: var(--secondary-color);
}

.navbar {
    padding: 15px 0;
    background: var(--white);
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.navbar.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    box-shadow: var(--shadow-sm);
    animation: slideDown 0.5s ease-in-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.navbar-brand img {
    height: 55px;
    /* Adjust based on logo proportions */
    transition: var(--transition);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 10px 20px !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 20px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 40px);
}

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

.dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: var(--shadow-md);
    padding: 15px 0;
    margin-top: 15px;
    animation: fadeIn 0.3s ease-in-out;
}

.dropdown-item {
    padding: 10px 25px;
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--bg-soft);
    color: var(--primary-color);
    padding-left: 30px;
}

/* ==========================================================================
   Hero Slider (Weiboo Style)
   ========================================================================== */
.hero-slider {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-soft);
}

.swiper-slide {
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.5rem;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ==========================================================================
   Section Headings
   ========================================================================== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title .subtitle {
    font-size: 1rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

/* ==========================================================================
   Product Grid (Showcase Only)
   ========================================================================== */
.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: transparent;
}

.product-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: var(--transition);
}

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

.product-action {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    z-index: 10;
    opacity: 0;
}

.product-card:hover .product-action {
    bottom: 20px;
    opacity: 1;
}

.action-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--white);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.product-info {
    padding: 25px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-cat {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    transition: var(--transition);
}

.product-card:hover .product-title {
    color: var(--primary-color);
}

/* Remove price display completely */
.product-price {
    display: none !important;
}

/* ==========================================================================
   Category Banners
   ========================================================================== */
.cat-banner {
    position: relative;
    overflow: hidden;
    height: 350px;
    display: block;
    border-radius: 0;
}

.cat-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.cat-banner:hover img {
    transform: scale(1.05);
}

.cat-banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    color: var(--white);
}

.cat-banner-content h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 10px;
}

.cat-banner-content span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cat-banner-content span i {
    transition: var(--transition);
}

.cat-banner:hover span i {
    transform: translateX(5px);
}

/* ==========================================================================
   Contact CTA Section
   ========================================================================== */
.cta-section {
    background-color: var(--primary-color);
    padding: 80px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    right: -10%;
    bottom: -20%;
    width: 50%;
    height: 150%;
    background: var(--primary-light);
    transform: rotate(-15deg);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: var(--white);
    font-size: 3rem;
}

.contact-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.form-control,
.form-select {
    padding: 15px 20px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-soft);
}

.form-control:focus,
.form-select:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
    background-color: var(--white);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 20px;
}

.footer-widget h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* ==========================================================================
   Product Detail
   ========================================================================== */
.product-detail-img {
    background: var(--bg-soft);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-img img {
    max-width: 100%;
    mix-blend-mode: multiply;
}

.product-meta span {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-detail-title {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    margin: 15px 0 25px;
}

.product-detail-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1) rotate(-10deg);
    color: white;
}

/* ==========================================================================
   Footer Map
   ========================================================================== */
.footer-map {
    width: 100%;
    height: 230px;
    background-color: var(--bg-soft);
    position: relative;
    overflow: hidden;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.2) contrast(1.1);
    transition: filter 0.3s ease;
}

.footer-map:hover iframe {
    filter: grayscale(0);
}