/*
Theme Name: Halı Taxi
Theme URI: http://localhost/CoPilot/Taxi-WP/
Author: Halı Taxi
Author URI: http://localhost/CoPilot/Taxi-WP/
Description: Halı Taxi için özel olarak tasarlanmış ultra modern taksi teması
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hali-taxi
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;900&display=swap');

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FFD700;
    --secondary: #FFA500;
    --dark: #1a1a1a;
    --light: #ffffff;
    --gray: #f8f9fa;
    --shadow: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
    position: relative;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: 1px;
}

.mobile-menu-toggle.active span {
    background: var(--primary);
}

.mobile-menu-toggle.active span:first-child {
    transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-title {
    font-size: 2.2em;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.site-description {
    font-size: 0.9em;
    color: #666;
    font-weight: 300;
    display: none;
}

.header-contact a {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.header-contact a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 165, 0, 0.5);
}

/* Navigation */
.main-navigation {
    background: var(--dark);
    padding: 0;
    position: relative;
}

@media (min-width: 769px) {
    .main-navigation {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        width: auto !important;
        height: auto !important;
        transform: none !important;
        padding-top: 0 !important;
    }
}

.main-navigation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.nav-wrapper {
    position: relative;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.main-navigation li {
    margin: 0;
    position: relative;
}

.main-navigation a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    padding: 20px 30px;
    display: block;
    transition: all 0.3s ease;
    position: relative;
}

.main-navigation a.call-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark);
    border-radius: 25px;
    margin: 10px;
    font-weight: 700;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.main-navigation a:hover {
    color: var(--primary);
}

.main-navigation a:hover::after {
    width: 80%;
}

.main-navigation a.call-btn::after {
    display: none;
}

/* Dropdown Menu */
.main-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dark);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-top: 3px solid var(--primary);
    z-index: 1000;
    flex-direction: column;
    padding: 10px 0;
}

@media (min-width: 769px) {
    .main-navigation li:hover > .sub-menu {
        display: flex;
    }
}

.main-navigation .sub-menu li {
    width: 100%;
}

.main-navigation .sub-menu a {
    padding: 12px 25px;
    font-size: 0.95em;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.main-navigation .sub-menu a::after {
    display: none;
}

.main-navigation .sub-menu a:hover {
    background: rgba(255, 215, 0, 0.1);
    border-left-color: var(--primary);
    padding-left: 30px;
}

/* Dropdown Arrow */
.dropdown-arrow {
    font-size: 0.7em;
    margin-left: 5px;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.menu-item-has-children.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
    width: 100%;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 100 !important;
    text-align: center;
    width: 90%;
    max-width: 1200px;
    pointer-events: none;
}

.hero-content * {
    pointer-events: auto;
}

/* Slider Controls */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 215, 0, 0.9);
    color: #1a1a1a;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2em;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 100;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 215, 0, 0.8);
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 6px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 165, 0, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-section .hero-content {
    position: absolute !important;
    z-index: 100 !important;
}

.hero-section h1 {
    font-size: 4.5em;
    font-weight: 900;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: textShine 3s linear infinite;
    line-height: 1.2;
}

@keyframes textShine {
    to { background-position: 200% center; }
}

.hero-section p {
    font-size: 1.8em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark);
    padding: 20px 50px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.3em;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(255, 165, 0, 0.6);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--gray);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3.5em;
    font-weight: 900;
    margin-bottom: 70px;
    color: var(--dark);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: var(--light);
    padding: 45px 35px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 4em;
    margin-bottom: 25px;
    display: inline-block;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

.service-card h3 {
    font-size: 1.6em;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card p {
    color: #666;
    font-size: 1em;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--light);
    position: relative;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.contact-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 45px 35px;
    border-radius: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.contact-card h3 {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-card p {
    color: var(--dark);
    line-height: 2;
    font-size: 1.05em;
    position: relative;
    z-index: 1;
}

.contact-card a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.contact-card a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.contact-card a:hover::after {
    width: 100%;
}

.contact-card a:hover {
    color: var(--primary);
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    color: var(--light);
    padding: 60px 0 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

.footer-content {
    margin-bottom: 30px;
}

.footer-content h3 {
    font-size: 2em;
    font-weight: 900;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-content p {
    margin: 12px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05em;
}

body.menu-open {
    overflow: hidden;
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background: var(--light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.blog-card {
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--primary);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    position: relative;
    overflow: hidden;
}

.blog-card-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85em;
    color: #999;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card-title {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--secondary);
}

.blog-card-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.95em;
    flex: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95em;
    margin-top: auto;
}

.blog-card-link:hover {
    color: var(--primary);
    gap: 12px;
}

.blog-card-link::after {
    content: '→';
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.blog-card-link:hover::after {
    transform: translateX(5px);
}

.no-posts-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 1.2em;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 60px 0;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .blog-card-image {
        height: 180px;
        font-size: 2.5em;
    }
    
    .blog-card-content {
        padding: 20px;
    }
    
    .blog-card-title {
        font-size: 1.2em;
    }
}

/* Price Table Styles */
.price-table-wrapper {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
}

.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.price-table thead {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    position: relative;
}

.price-table thead::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

.price-table thead th {
    padding: 25px 20px;
    text-align: left;
    font-size: 1.2em;
    font-weight: 800;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-table thead th:nth-child(2) {
    text-align: center;
}

.price-table thead th:last-child {
    text-align: right;
}

.price-table tbody tr {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.price-table tbody tr::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
}

.price-table tbody tr:last-child::after {
    display: none;
}

.price-table tbody tr:hover {
    background: linear-gradient(90deg, #fff9e6, #ffffff, #fff9e6);
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(255, 165, 0, 0.15);
}

.price-table td {
    padding: 20px;
    font-size: 1.05em;
    transition: all 0.3s ease;
}

.price-table td:first-child {
    font-weight: 600;
    color: #2c3e50;
    position: relative;
    padding-left: 30px;
}

.price-table td:first-child::before {
    content: '▸';
    position: absolute;
    left: 15px;
    color: #FFA500;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.price-table tbody tr:hover td:first-child::before {
    opacity: 1;
}

.price-table td:nth-child(2) {
    color: #7f8c8d;
    text-align: center;
    font-weight: 500;
    background: rgba(255, 215, 0, 0.05);
}

.price-table td:last-child {
    font-weight: 800;
    color: #FFA500;
    text-align: right;
    font-size: 1.3em;
    position: relative;
}

.price-table td:last-child::after {
    content: ' ₺';
    font-size: 0.8em;
    opacity: 0.7;
}

.price-note {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    border-radius: 20px;
    border: 2px solid #FFD700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.price-note h3 {
    color: #FFA500;
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-note p {
    color: #2c3e50;
    margin: 12px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.8;
}

.price-note p::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFA500;
    font-weight: bold;
    font-size: 1.2em;
}

.price-note strong {
    color: #FFA500;
    font-weight: 700;
}

/* Page Styles */
.page-content {
    padding: 100px 0;
    background: var(--light);
    min-height: 70vh;
}

.page-article {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--primary);
}

/* Blog Post Styles */
.blog-post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.95em;
    color: #999;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-post-image {
    margin: 30px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.blog-post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 50px 0;
    padding: 30px 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

.post-navigation a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 10px;
}

.post-navigation a:hover {
    color: var(--primary);
    background: rgba(255, 215, 0, 0.1);
}

.nav-previous {
    text-align: left;
}

.nav-next {
    text-align: right;
}

.page-title {
    font-size: 3em;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.page-body {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 50px;
}

.page-body h2 {
    color: var(--dark);
    font-size: 1.8em;
    margin: 30px 0 20px;
    font-weight: 700;
}

.page-body h3 {
    color: var(--secondary);
    font-size: 1.4em;
    margin: 25px 0 15px;
    font-weight: 600;
}

.page-body p {
    margin-bottom: 20px;
}

.page-body ul {
    margin: 20px 0;
    padding-left: 30px;
}

.page-body li {
    margin-bottom: 10px;
}

.page-cta {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--primary);
}

.page-cta h3 {
    font-size: 2em;
    margin-bottom: 15px;
    color: var(--dark);
}

.page-cta p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
}

@media (max-width: 768px) {
    .page-article {
        padding: 30px 20px;
        margin: 0 20px;
    }
    
    .page-title {
        font-size: 2.2em;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card, .contact-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-card:nth-child(3) { animation-delay: 0.3s; }
.contact-card:nth-child(4) { animation-delay: 0.4s; }

/* Floating Widgets */
.floating-widgets {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.floating-button:hover {
    transform: scale(1.1) translateY(-5px);
}

.floating-button svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* Instagram Button */
.instagram-button {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
    animation: pulse-instagram 2s infinite;
}

@keyframes pulse-instagram {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(131, 58, 180, 0.4);
    }
    50% {
        box-shadow: 0 8px 40px rgba(131, 58, 180, 0.6), 0 0 0 15px rgba(131, 58, 180, 0.1);
    }
}

.instagram-button:hover {
    box-shadow: 0 12px 40px rgba(131, 58, 180, 0.6);
}

/* Phone Button */
.phone-button {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    animation: pulse-phone 2s infinite;
}

@keyframes pulse-phone {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 0 8px 40px rgba(255, 215, 0, 0.6), 0 0 0 15px rgba(255, 215, 0, 0.1);
    }
}

.phone-button:hover {
    box-shadow: 0 12px 40px rgba(255, 165, 0, 0.6);
}

/* WhatsApp Button */
.whatsapp-button {
    background: linear-gradient(135deg, #25D366, #128C7E);
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 40px rgba(37, 211, 102, 0.6), 0 0 0 15px rgba(37, 211, 102, 0.1);
    }
}

.whatsapp-button:hover {
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-section h1 {
        font-size: 3.5em;
    }
    
    .section-title {
        font-size: 2.8em;
    }
}

@media (max-width: 768px) {
    .site-title {
        font-size: 1.4em;
    }
    
    .site-description {
        font-size: 0.8em;
    }
    
    .header-contact {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Mobile Navigation - FIXED */
    .main-navigation {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 280px !important;
        height: 100vh !important;
        background: var(--dark) !important;
        z-index: 10000 !important;
        transition: right 0.3s ease !important;
        overflow-y: auto !important;
        padding-top: 80px !important;
        transform: translateX(0) !important;
    }
    
    .main-navigation.active {
        right: 0 !important;
    }
    
    .main-navigation ul {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 20px 0 !important;
        margin: 0 !important;
    }
    
    .main-navigation li {
        margin: 0 !important;
        width: 100% !important;
    }
    
    .main-navigation a {
        padding: 15px 25px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        font-size: 1.1em !important;
        display: block !important;
        width: 100% !important;
    }
    
    .main-navigation a.call-btn {
        margin: 15px 25px !important;
        text-align: center !important;
        border-radius: 25px !important;
        border-bottom: none !important;
        width: calc(100% - 50px) !important;
    }
    
    .main-navigation a::after {
        display: none !important;
    }
    
    /* Mobile Dropdown - FIXED */
    .main-navigation .sub-menu {
        position: static !important;
        display: none !important;
        background: rgba(0,0,0,0.5) !important;
        box-shadow: none !important;
        border-top: none !important;
        border-left: 3px solid var(--primary) !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    .main-navigation .menu-item-has-children.active > .sub-menu {
        display: flex !important;
    }
    
    .main-navigation .sub-menu li {
        width: 100% !important;
    }
    
    .main-navigation .sub-menu a {
        padding: 12px 40px !important;
        font-size: 0.95em !important;
        border-left: none !important;
        width: 100% !important;
    }
    
    /* Mobile Overlay - FIXED */
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 9999;
    }
    
    .mobile-overlay.active {
        display: block;
    }
    
    .hero-section {
        min-height: 60vh;
        padding: 40px 0;
        max-height: 60vh;
    }
    
    .hero-slider,
    .hero-slide {
        max-height: 60vh;
    }
    
    .hero-section h1 {
        font-size: 2.2em;
    }
    
    .hero-section p {
        font-size: 1.1em;
    }
    
    .hero-content {
        padding: 0 15px;
        width: 95%;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
    
    .slider-dots {
        bottom: 15px;
        gap: 10px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .dot.active {
        width: 20px;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .services-section,
    .contact-section {
        padding: 50px 0;
    }
    
    .service-card,
    .contact-card {
        padding: 30px 20px;
    }
    
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-button svg {
        width: 30px;
        height: 30px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
    
    .floating-widgets {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .floating-button {
        width: 55px;
        height: 55px;
    }
    
    .floating-button svg {
        width: 28px;
        height: 28px;
    }
    
    .page-article {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .page-title {
        font-size: 2em;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 50vh;
        max-height: 50vh;
    }
    
    .hero-slider,
    .hero-slide {
        max-height: 50vh;
    }
    
    .hero-section h1 {
        font-size: 1.8em;
    }
    
    .hero-section p {
        font-size: 1em;
    }
    
    .services-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }
}
