/*
Theme Name: Vodafone Gulgrup
Theme URI: https://vodafonegulgrup.com
Author: Vodafone Gulgrup
Author URI: https://vodafonegulgrup.com
Description: Vodafone Gulgrup Bayisi icin ozel WordPress temasi (48x48 px logo, tum tarifeler ve tum kutucuklar icin tam duzenleme paneli).
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vodafone-gulgrup
*/

:root {
    --vf-red: #E60000;
    --vf-dark-red: #990000;
    --vf-crimson: #B30000;
    --vf-dark: #1A1A1A;
    --vf-gray: #F4F4F4;
    --vf-border: #E2E2E2;
    --vf-text: #333333;
    --vf-white: #FFFFFF;
    --vf-whatsapp: #25D366;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background-color: #F8F9FA; color: var(--vf-text); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* Top Bar */
.vf-topbar { background-color: var(--vf-dark); color: var(--vf-white); font-size: 13px; padding: 8px 0; border-bottom: 2px solid var(--vf-red); }
.vf-topbar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.vf-topbar-group { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.vf-widget-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.1); padding: 4px 12px; border-radius: 20px; }
.vf-widget-badge strong { color: #FF5252; }

/* Header */
.vf-header { background: var(--vf-white); box-shadow: 0 2px 12px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 999; }
.vf-header-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.vf-brand { display: flex; align-items: center; gap: 12px; }
.vf-logo-box { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--vf-red); color: #fff; font-weight: 800; font-size: 24px; flex-shrink: 0; }
.vf-logo-box img { width: 48px; height: 48px; object-fit: contain; display: block; }
.vf-brand-title h1 { font-size: 22px; font-weight: 800; color: var(--vf-red); line-height: 1.1; }
.vf-brand-title span { font-size: 12px; color: #666; font-weight: 600; }

.vf-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.vf-nav a { padding: 8px 13px; font-weight: 600; font-size: 14px; color: var(--vf-dark); border-radius: 6px; transition: all 0.2s; }
.vf-nav a:hover, .vf-nav a.active { background: var(--vf-red); color: #fff; }
.vf-mobile-toggle { display: none; background: var(--vf-red); color: #fff; border: none; padding: 8px 12px; border-radius: 6px; font-size: 18px; cursor: pointer; }

/* Ticker */
.vf-ticker-bar { background: linear-gradient(90deg, var(--vf-dark-red), var(--vf-red), var(--vf-dark-red)); color: #fff; padding: 10px 0; overflow: hidden; position: relative; border-bottom: 1px solid rgba(255,255,255,0.15); }
.vf-ticker-wrap { display: flex; align-items: center; }
.vf-ticker-label { background: #fff; color: var(--vf-red); font-weight: 800; font-size: 12px; padding: 4px 12px; border-radius: 4px; margin-right: 15px; white-space: nowrap; z-index: 2; text-transform: uppercase; }
.vf-ticker-marquee { overflow: hidden; white-space: nowrap; flex: 1; }
.vf-ticker-content { display: inline-block; padding-left: 100%; animation: vfMarquee 28s linear infinite; font-weight: 600; font-size: 14px; }
.vf-ticker-content:hover { animation-play-state: paused; }
@keyframes vfMarquee { 0% { transform: translate(0, 0); } 100% { transform: translate(-100%, 0); } }

/* Slider */
.vf-slider-section { padding: 25px 0; }
.vf-slider-container { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(230,0,0,0.15); background: var(--vf-dark); }
.vf-slides { display: flex; transition: transform 0.5s ease-in-out; }
.vf-slide { min-width: 100%; position: relative; height: 400px; display: flex; align-items: center; background-size: cover; background-position: center; }
.vf-slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(153,0,0,0.92) 0%, rgba(230,0,0,0.75) 50%, rgba(0,0,0,0.35) 100%); }
.vf-slide-content { position: relative; z-index: 2; color: #fff; padding: 40px 60px; max-width: 720px; }
.vf-slide-badge { display: inline-block; background: #fff; color: var(--vf-red); font-weight: 800; font-size: 12px; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; text-transform: uppercase; }
.vf-slide-content h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; line-height: 1.2; }
.vf-slide-content p { font-size: 16px; margin-bottom: 20px; opacity: 0.95; }
.vf-slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.92); color: var(--vf-red); border: none; width: 42px; height: 42px; border-radius: 50%; font-size: 22px; font-weight: bold; cursor: pointer; z-index: 5; transition: 0.2s; }
.vf-slider-btn:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.vf-prev { left: 15px; }
.vf-next { right: 15px; }
.vf-slider-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.vf-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.45); cursor: pointer; border: none; }
.vf-dot.active { background: #fff; width: 26px; border-radius: 10px; }

/* Sections */
.vf-section { padding: 45px 0; }
.vf-section-header { text-align: center; margin-bottom: 35px; }
.vf-section-header h2 { font-size: 30px; font-weight: 800; color: var(--vf-dark); position: relative; display: inline-block; padding-bottom: 10px; }
.vf-section-header h2::after { content: ''; position: absolute; bottom: 0; left: 25%; width: 50%; height: 4px; background: var(--vf-red); border-radius: 2px; }
.vf-section-header p { color: #666; margin-top: 8px; font-size: 15px; }

.vf-red-bg-section { background: radial-gradient(circle at top right, #E60000 0%, #990000 65%, #5C0000 100%); position: relative; color: #fff; overflow: hidden; }
.vf-red-bg-section::before { content: 'vodafone'; position: absolute; right: -30px; bottom: -40px; font-size: 160px; font-weight: 900; color: rgba(255, 255, 255, 0.05); pointer-events: none; letter-spacing: -4px; }
.vf-red-bg-section .vf-section-header h2 { color: #fff; }
.vf-red-bg-section .vf-section-header h2::after { background: #fff; }
.vf-red-bg-section .vf-section-header p { color: rgba(255,255,255,0.88); }

/* Tabs */
.vf-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.vf-tab-btn { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.35); padding: 10px 18px; border-radius: 30px; font-weight: 700; font-size: 13px; cursor: pointer; transition: 0.25s; }
.vf-tab-btn.active, .vf-tab-btn:hover { background: #fff; color: var(--vf-red); border-color: #fff; }

/* Cards */
.vf-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.vf-tariff-card { background: #fff; color: var(--vf-text); border-radius: 16px; padding: 24px; box-shadow: 0 10px 25px rgba(0,0,0,0.15); display: flex; flex-direction: column; justify-content: space-between; border-top: 5px solid var(--vf-red); transition: transform 0.25s; }
.vf-tariff-card:hover { transform: translateY(-6px); }
.vf-tariff-cat { font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--vf-red); background: #FFEBEB; padding: 4px 10px; border-radius: 12px; display: inline-block; margin-bottom: 10px; }
.vf-tariff-title { font-size: 21px; font-weight: 800; color: var(--vf-dark); margin-bottom: 6px; }
.vf-tariff-gb { font-size: 28px; font-weight: 900; color: var(--vf-red); margin: 8px 0; }
.vf-tariff-specs { list-style: none; margin: 14px 0; border-top: 1px solid #EEE; border-bottom: 1px solid #EEE; padding: 12px 0; font-size: 14px; }
.vf-tariff-specs li { padding: 4px 0; display: flex; align-items: center; gap: 8px; }
.vf-tariff-specs li::before { content: '✓'; color: var(--vf-red); font-weight: 900; }
.vf-social-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.vf-social-pill { background: #F2F2F2; color: #333; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.vf-price-box { background: #FFF5F5; border-radius: 12px; padding: 12px; text-align: center; margin-bottom: 14px; }
.vf-price { font-size: 26px; font-weight: 900; color: var(--vf-red); }
.vf-price small { font-size: 13px; font-weight: 600; color: #666; }

/* Devices */
.vf-device-card { background: #fff; color: var(--vf-text); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.14); display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.25s; }
.vf-device-card:hover { transform: translateY(-6px); }
.vf-device-img { height: 210px; background: #F9F9F9; display: flex; align-items: center; justify-content: center; padding: 15px; border-bottom: 1px solid #EEE; position: relative; }
.vf-device-img img { max-height: 180px; max-width: 100%; object-fit: contain; }
.vf-device-placeholder { width: 150px; height: 155px; border-radius: 16px; background: linear-gradient(135deg, #E60000, #990000); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px; font-weight: 700; font-size: 13px; }
.vf-device-body { padding: 20px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.vf-device-title { font-size: 19px; font-weight: 800; color: var(--vf-dark); margin-bottom: 10px; }
.vf-device-specs { list-style: none; font-size: 13px; color: #555; margin-bottom: 16px; }
.vf-device-specs li { padding: 3px 0; border-bottom: 1px dashed #EEE; }

/* Buttons */
.vf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 10px; font-weight: 700; font-size: 14px; cursor: pointer; border: none; transition: 0.2s; width: 100%; }
.vf-btn-red { background: var(--vf-red); color: #fff; }
.vf-btn-red:hover { background: var(--vf-dark-red); }
.vf-btn-whatsapp { background: var(--vf-whatsapp); color: #fff; }
.vf-btn-whatsapp:hover { background: #1EBE5D; }
.vf-btn-white { background: #fff; color: var(--vf-red); width: auto; }

.vf-cta-note { margin-top: 32px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); border-radius: 14px; padding: 18px 24px; text-align: center; font-size: 15px; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 15px; }
.vf-cta-note-light { background: #FFF0F0; border-color: #FFCCCC; color: var(--vf-dark); }

/* Branches */
.vf-branches-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.vf-branch-card { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 8px 24px rgba(0,0,0,0.07); border-top: 5px solid var(--vf-red); display: flex; flex-direction: column; justify-content: space-between; }
.vf-branch-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.vf-branch-name { font-size: 18px; font-weight: 800; color: var(--vf-red); }
.vf-weather-pill { background: #F0F7FF; border: 1px solid #CBE3FF; color: #0B5394; padding: 5px 10px; border-radius: 12px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.vf-branch-info { font-size: 14px; color: #444; margin-bottom: 16px; }
.vf-branch-info p { margin-bottom: 8px; }
.vf-branch-hours { background: #F9F9F9; padding: 10px 12px; border-radius: 10px; font-size: 13px; margin-bottom: 14px; border-left: 3px solid var(--vf-red); }
.vf-branch-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* Footer */
.vf-footer { background: var(--vf-dark); color: #CCC; padding: 45px 0 20px; border-top: 5px solid var(--vf-red); }
.vf-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; margin-bottom: 30px; }
.vf-footer h4 { color: #fff; font-size: 17px; margin-bottom: 14px; border-left: 3px solid var(--vf-red); padding-left: 10px; }
.vf-footer ul { list-style: none; font-size: 14px; }
.vf-footer ul li { margin-bottom: 8px; }
.vf-footer ul li a:hover { color: #fff; }
.vf-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; text-align: center; font-size: 13px; }
.vf-floating-wa { position: fixed; bottom: 22px; right: 22px; background: var(--vf-whatsapp); color: #fff; padding: 12px 20px; border-radius: 50px; font-weight: 800; font-size: 14px; box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45); z-index: 9999; display: flex; align-items: center; gap: 8px; }

@media (max-width: 900px) {
    .vf-nav { display: none; width: 100%; flex-direction: column; padding-top: 12px; }
    .vf-nav.open { display: flex; }
    .vf-mobile-toggle { display: block; }
    .vf-header-inner { flex-wrap: wrap; }
    .vf-slide { height: 320px; }
    .vf-slide-content { padding: 25px; }
    .vf-slide-content h2 { font-size: 24px; }
}
