/*
Theme Name: Phoenix İnşaat Starter
Theme URI: https://idealsunucu.com.tr
Author: Mustafa DEVEBAKAN
Author URI: https://idealsunucu.com.tr
Description: Modern İnşaat & Gayrimenkul WordPress Teması - PHP 8.3+, Tam Özelleştirilebilir Admin Panel, SEO Optimizasyonlu
Version: 3.5.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: phoenix-jewe
Tags: construction, real-estate, business, custom-logo, custom-menu, featured-images, theme-options
*/

/* =============================================
   CSS VARIABLES
============================================= */
:root {
    /* Colors - Will be overridden by admin settings */
    --primary: #f5a623;
    --primary-dark: #e09000;
    --primary-light: #ffc107;
    --secondary: #0a1628;
    --secondary-light: #1a3a5c;
    --accent: #ff8c00;
    --dark: #0a1628;
    --light: #f8f9fa;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --white: #ffffff;
    --black: #000000;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    
    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.7;
    
    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 50px;
    --spacing-2xl: 80px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50px;
    --radius-circle: 50%;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Layout */
    --header-height: 90px;
    --topbar-height: 45px;
    --container-max: 1320px;
    --sidebar-width: 380px;
}

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

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: var(--line-height-base);
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

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

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

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

ul, ol { list-style: none; }

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

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* =============================================
   PRELOADER
============================================= */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.preloader-logo {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--spacing-lg);
}

.preloader-logo span { color: var(--primary); }

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--primary);
    border-radius: var(--radius-circle);
    animation: spin 1s linear infinite;
    margin: 0 auto var(--spacing-md);
}

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

.preloader-text {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* =============================================
   TOP BAR
============================================= */
.top-bar {
    background: var(--secondary);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.85);
    transition: color var(--transition);
}

.top-bar-item:hover { color: var(--primary); }

.top-bar-item svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.top-bar-divider {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.15);
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.top-bar-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.top-bar-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.top-bar-social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* =============================================
   HEADER
============================================= */
.site-header {
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.site-header.scrolled {
    height: 75px;
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
}

/* Logo */
.site-logo a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.site-logo img {
    max-height: 60px;
    width: auto;
    transition: max-height var(--transition);
}

.site-header.scrolled .site-logo img {
    max-height: 50px;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.logo-text span { color: var(--primary); }

/* =============================================
   MAIN NAVIGATION
============================================= */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Main Menu Items */
.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    position: relative;
}

/* Hover underline effect */
.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-parent > a,
.nav-menu > li.current-menu-ancestor > a {
    color: var(--primary);
}

.nav-menu > li > a:hover::after,
.nav-menu > li.current-menu-item > a::after,
.nav-menu > li.current-menu-parent > a::after,
.nav-menu > li.current-menu-ancestor > a::after {
    transform: scaleX(1);
}

/* Dropdown Arrow */
.nav-menu > li.menu-item-has-children > a::before {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform var(--transition);
}

.nav-menu > li.menu-item-has-children:hover > a::before {
    transform: translateY(-50%) rotate(180deg);
}

.nav-menu > li.menu-item-has-children > a {
    padding-right: 30px;
}

/* =============================================
   DROPDOWN MENU - FIXED
============================================= */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all var(--transition);
    z-index: 9999;
    border: 1px solid var(--gray-light);
}

/* Show dropdown on hover */
.nav-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

/* Dropdown Items */
.nav-menu .sub-menu li {
    margin: 0;
}

.nav-menu .sub-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-menu .sub-menu li a:hover,
.nav-menu .sub-menu li.current-menu-item a {
    background: var(--light);
    color: var(--primary);
    padding-left: 22px;
}

/* Nested Dropdown */
.nav-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 5px;
}

.nav-menu .sub-menu li.menu-item-has-children > a::after {
    content: '›';
    margin-left: auto;
    font-size: 18px;
    transition: transform var(--transition);
}

.nav-menu .sub-menu li.menu-item-has-children:hover > a::after {
    transform: translateX(5px);
}

/* =============================================
   HEADER RIGHT
============================================= */
.header-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header-phone-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transition: transform var(--transition);
}

.header-phone:hover .header-phone-icon {
    transform: scale(1.1) rotate(10deg);
}

.header-phone-text {
    display: flex;
    flex-direction: column;
}

.header-phone-label {
    font-size: 12px;
    color: var(--gray);
}

.header-phone-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}

.header-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245,166,35,0.4);
    color: var(--white);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 48px;
    height: 48px;
    background: var(--light);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    transition: background var(--transition);
}

.mobile-menu-btn:hover { background: var(--gray-light); }

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =============================================
   MOBILE NAVIGATION
============================================= */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    max-width: 90vw;
    height: 100vh;
    background: var(--white);
    z-index: 9999;
    transition: right var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
}

.mobile-nav.active { right: 0; }

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--gray-light);
    background: var(--light);
}

.mobile-nav-logo { font-size: 1.5rem; font-weight: 800; }
.mobile-nav-logo span { color: var(--primary); }

.mobile-nav-close {
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all var(--transition);
}

.mobile-nav-close:hover {
    background: var(--danger);
    border-color: var(--danger);
    color: var(--white);
}

.mobile-nav-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-md);
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu > li {
    border-bottom: 1px solid var(--gray-light);
}

.mobile-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    color: var(--dark);
    font-weight: 500;
    font-size: 16px;
}

.mobile-menu > li > a:hover,
.mobile-menu > li.current-menu-item > a {
    color: var(--primary);
}

.mobile-menu .sub-menu {
    display: none;
    padding-left: 15px;
    margin: 0;
    list-style: none;
    background: var(--light);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

.mobile-menu .sub-menu.active { display: block; }

.mobile-menu .sub-menu li a {
    display: block;
    padding: 12px 15px;
    color: var(--text-light);
    font-size: 15px;
    border-bottom: 1px solid var(--gray-light);
}

.mobile-menu .sub-menu li:last-child a { border-bottom: none; }
.mobile-menu .sub-menu li a:hover { color: var(--primary); }

.submenu-toggle {
    width: 36px;
    height: 36px;
    background: var(--light);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all var(--transition);
}

.submenu-toggle:hover { background: var(--primary); color: var(--white); }
.submenu-toggle.active { transform: rotate(180deg); }

.mobile-nav-footer {
    padding: var(--spacing-md);
    border-top: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--light);
}

.mobile-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all var(--transition);
}

.mobile-nav-btn.phone {
    background: var(--white);
    color: var(--dark);
    border: 1px solid var(--gray-light);
}

.mobile-nav-btn.phone:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.mobile-nav-btn.whatsapp {
    background: #25D366;
    color: var(--white);
}

.mobile-nav-btn.whatsapp:hover {
    background: #128C7E;
}

/* =============================================
   HERO SECTION
============================================= */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height) - var(--topbar-height));
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--white);
    overflow: hidden;
    padding: var(--spacing-2xl) 0;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.95) 0%, rgba(26,58,92,0.85) 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-content { max-width: 650px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(255,255,255,0.15);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: var(--white);
}

.hero-title span { color: var(--primary); }

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: var(--spacing-xl);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

.hero-stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.hero-stat-label {
    font-size: 14px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Visual */
.hero-visual { position: relative; }

.hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-floating-card {
    position: absolute;
    background: var(--white);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 3s ease-in-out infinite;
}

.hero-floating-card.card-1 {
    bottom: -20px;
    left: -30px;
    animation-delay: 0s;
}

.hero-floating-card.card-2 {
    top: 30px;
    right: -20px;
    animation-delay: 1.5s;
}

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

.floating-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.floating-card-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.floating-card-text {
    font-size: 13px;
    color: var(--gray);
}

/* =============================================
   BUTTONS
============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245,166,35,0.4);
    color: var(--white);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary-light);
    border-color: var(--secondary-light);
}

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

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

.btn-white {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

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

.btn-ghost {
    background: transparent;
    border-color: rgba(255,255,255,0.3);
    color: var(--white);
}

.btn-ghost:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.btn-lg { padding: 18px 40px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* =============================================
   SECTIONS
============================================= */
.section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,166,35,0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.section-title { margin-bottom: 15px; }

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
}

.bg-light { background: var(--light); }
.bg-dark { background: var(--secondary); color: var(--white); }
.bg-dark .section-title { color: var(--white); }
.bg-dark .section-description { color: rgba(255,255,255,0.7); }

/* =============================================
   CARDS
============================================= */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

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

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
}

.card-body { padding: var(--spacing-lg); }
.card-title { font-size: 1.35rem; margin-bottom: 12px; }
.card-title a { color: var(--dark); }
.card-title a:hover { color: var(--primary); }
.card-text { color: var(--text-light); font-size: 15px; margin-bottom: 15px; }

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: var(--gray);
}

.card-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-footer {
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--gray-light);
}

/* Service Card */
.service-card {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto var(--spacing-lg);
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 { margin-bottom: 15px; }
.service-card p { color: var(--text-light); margin-bottom: var(--spacing-md); }

/* =============================================
   GRIDS
============================================= */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* =============================================
   PAGE HEADER
============================================= */
.page-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    padding: var(--spacing-2xl) 0;
    text-align: center;
    color: var(--white);
}

.page-title {
    color: var(--white);
    margin-bottom: 15px;
}

.page-description {
    color: rgba(255,255,255,0.8);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb-section {
    background: var(--light);
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-light);
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-separator { color: var(--gray); opacity: 0.5; }
.breadcrumb-current { color: var(--dark); font-weight: 500; }

/* =============================================
   CONTENT LAYOUT
============================================= */
.content-wrapper { padding: var(--spacing-2xl) 0; }

.content-layout {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: var(--spacing-xl);
    align-items: start;
}

.main-content { min-width: 0; }

/* Content Block */
.content-block {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.block-title {
    font-size: 1.5rem;
    margin: 0 0 var(--spacing-lg);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.prose-content {
    font-size: 16px;
    line-height: 1.9;
}

.prose-content p { margin-bottom: 1.25rem; }
.prose-content h2, .prose-content h3, .prose-content h4 { margin-top: 2rem; }
.prose-content ul, .prose-content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.prose-content li { margin-bottom: 0.5rem; }
.prose-content ul li { list-style: disc; }
.prose-content ol li { list-style: decimal; }
.prose-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    font-style: italic;
    color: var(--text-light);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--light);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.feature-item:hover {
    background: var(--primary);
    color: var(--white);
}

.feature-check {
    width: 30px;
    height: 30px;
    background: var(--success);
    color: var(--white);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* CTA Block */
.cta-block {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xl);
}

.cta-block h3 { color: var(--white); margin-bottom: 15px; }
.cta-block p { opacity: 0.9; margin-bottom: var(--spacing-lg); }

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sidebar */
.sidebar { position: sticky; top: 110px; }

.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.widget-title {
    font-size: 1.25rem;
    margin: 0 0 var(--spacing-md);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

/* =============================================
   COMMENTS
============================================= */
.comments-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
}

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

.comment {
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--gray-light);
}

.comment:last-child { border-bottom: none; }

.comment-body {
    display: flex;
    gap: var(--spacing-md);
}

.comment-avatar img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-circle);
    object-fit: cover;
}

.comment-content { flex: 1; }

.comment-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.comment-author {
    font-weight: 700;
    color: var(--dark);
}

.comment-date {
    font-size: 13px;
    color: var(--gray);
}

.comment-text {
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.comment-reply-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.comment-reply-link:hover { color: var(--primary-dark); }

/* Comment children */
.comment .children {
    list-style: none;
    margin: 0;
    padding-left: var(--spacing-xl);
}

/* Comment Form */
.comment-respond {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--gray-light);
}

.comment-reply-title {
    font-size: 1.35rem;
    margin-bottom: var(--spacing-lg);
}

.comment-form {
    display: grid;
    gap: var(--spacing-md);
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comment-form label {
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: border-color var(--transition);
}

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

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    margin-top: var(--spacing-sm);
}

.comment-form .submit {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border: none;
    padding: 16px 40px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all var(--transition);
}

.comment-form .submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245,166,35,0.4);
}

/* =============================================
   FOOTER
============================================= */
.site-footer {
    background: var(--secondary);
    color: var(--white);
    padding-top: var(--spacing-2xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand { max-width: 350px; }

.footer-logo {
    margin-bottom: var(--spacing-lg);
}

.footer-logo img { max-height: 50px; }
.footer-logo .logo-text { color: var(--white); }

.footer-description {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition);
}

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

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-title {
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    padding-bottom: 12px;
    position: relative;
}

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

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu a {
    color: rgba(255,255,255,0.7);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-menu a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition);
}

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

.footer-menu a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: var(--spacing-md);
}

.footer-contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.footer-contact-content { flex: 1; }
.footer-contact-label { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.footer-contact-text { color: rgba(255,255,255,0.9); }
.footer-contact-text a { color: rgba(255,255,255,0.9); }
.footer-contact-text a:hover { color: var(--primary); }

.footer-bottom {
    padding: var(--spacing-lg) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-copyright {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.footer-copyright a { color: var(--primary); }

.footer-developer {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.footer-developer a { color: var(--primary); }

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 5px 25px rgba(37,211,102,0.4);
    z-index: 99;
    transition: all var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
    50% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
}

/* =============================================
   PAGINATION
============================================= */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: var(--spacing-xl);
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background: var(--white);
    color: var(--text);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.pagination a:hover {
    background: var(--primary);
    color: var(--white);
}

.pagination .current {
    background: var(--primary);
    color: var(--white);
}

/* =============================================
   FORMS
============================================= */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: all var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(245,166,35,0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* =============================================
   UTILITIES
============================================= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }

.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--spacing-xl); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1200px) {
    .header-phone { display: none; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .main-nav { display: none; }
    .header-cta { display: none; }
    .mobile-menu-btn { display: flex; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .content-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    
    :root {
        --header-height: 70px;
        --spacing-2xl: 60px;
    }
    
    .section { padding: var(--spacing-xl) 0; }
    
    .hero {
        padding: var(--spacing-xl) 0;
        min-height: auto;
    }
    
    .hero-title { font-size: 2rem; }
    .hero-stats { gap: var(--spacing-md); }
    .hero-stat-number { font-size: 1.75rem; }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn { width: 100%; }
    
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social { justify-content: center; }
    .footer-contact-item { justify-content: center; }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .features-grid { grid-template-columns: 1fr; }
    
    .content-block { padding: var(--spacing-lg); }
    
    .comment-body { flex-direction: column; }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top {
        bottom: 85px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .btn { padding: 14px 24px; font-size: 14px; }
    .btn-lg { padding: 16px 30px; }
}

/* =============================================
   PRINT STYLES
============================================= */
@media print {
    .site-header,
    .site-footer,
    .back-to-top,
    .whatsapp-float,
    .mobile-nav,
    .mobile-nav-overlay,
    .top-bar,
    .sidebar { display: none !important; }
    
    .content-layout { grid-template-columns: 1fr; }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    a { color: #000; text-decoration: underline; }
    
    .content-block {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
