/*
Theme Name: Travel Agencies
Theme URI: https://pierwebs.com/
Author: Pier
Author URI: https://pierwebs.com/
Description: A modern WordPress directory theme for Travel Agencies in the United States
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: travel-agency-us-directory
Tags: directory, business, travel, responsive, modern
*/

/* ========================================
   CSS Reset & Base Styles
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

/* ========================================
   Container & Layout
======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 800;
}

/* ========================================
   MODERN HEADER STYLES - COMPLETAMENTE NUEVO
======================================== */

/* Header Principal */
.modern-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
}

.modern-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.875rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* ========== LOGO SECTION ========== */
.header-logo {
    flex-shrink: 0;
    z-index: 1001;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-wrapper:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.logo-svg {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== DESKTOP NAVIGATION ========== */
.desktop-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

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

.nav-menu .menu-item {
    position: relative;
}

.nav-menu .menu-item > a {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-menu .menu-item > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-menu .menu-item > a:hover {
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.06);
}

.nav-menu .menu-item > a:hover::before {
    width: 80%;
}

/* Active Menu Item */
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.1);
}

.nav-menu .current-menu-item > a::before,
.nav-menu .current-menu-ancestor > a::before {
    width: 80%;
}

/* Submenu Desktop */
.nav-menu .sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0.75rem;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
    margin: 0;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.nav-menu .menu-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu .menu-item {
    margin: 0;
}

.nav-menu .sub-menu a {
    display: block;
    padding: 0.625rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.nav-menu .sub-menu a:hover {
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--primary-color);
    padding-left: 1.25rem;
}

/* ========== HAMBURGER MENU BUTTON ========== */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-menu:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 6px;
}

.hamburger-box {
    width: 28px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 28px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    position: absolute;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
    display: block;
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    top: 8px;
}

/* Hamburger Animation Active */
.hamburger-menu.active .hamburger-inner {
    background-color: transparent;
}

.hamburger-menu.active .hamburger-inner::before {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--primary-color);
}

.hamburger-menu.active .hamburger-inner::after {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--primary-color);
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overscroll-behavior: contain;
}

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

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid rgba(37, 99, 235, 0.1);
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-logo img {
    height: 40px;
    width: auto;
}

.mobile-close {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 6px;
}

.mobile-close:hover {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.mobile-nav-content {
    padding: 1.5rem 0;
}

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

.mobile-menu .menu-item {
    margin: 0;
    border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}

.mobile-menu .menu-item:last-child {
    border-bottom: none;
}

.mobile-menu .menu-item > a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu .menu-item > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 60%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 0 4px 4px 0;
    transition: width 0.3s ease;
}

.mobile-menu .menu-item > a:hover,
.mobile-menu .menu-item > a:active {
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--primary-color);
    padding-left: 2rem;
}

.mobile-menu .menu-item > a:hover::before {
    width: 4px;
}

.mobile-menu .menu-item > a i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Current/Active Menu Item Mobile */
.mobile-menu .current-menu-item > a {
    background-color: rgba(37, 99, 235, 0.12);
    color: var(--primary-color);
    font-weight: 700;
}

.mobile-menu .current-menu-item > a::before {
    width: 4px;
}

/* Submenu Mobile */
.mobile-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: rgba(37, 99, 235, 0.03);
    display: none;
}

.mobile-menu .menu-item-has-children.active > .sub-menu {
    display: block;
}

.mobile-menu .sub-menu .menu-item > a {
    padding-left: 3rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.mobile-menu .sub-menu .menu-item > a i {
    font-size: 0.9rem;
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

/* Large Tablet to Small Desktop (1024px - 1200px) */
@media (max-width: 1200px) {
    .header-container {
        padding: 0.875rem 1.5rem;
    }
    
    .nav-menu {
        gap: 0.25rem;
    }
    
    .nav-menu .menu-item > a {
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .desktop-nav {
        display: none;
    }
    
    .hamburger-menu {
        display: block;
    }
}

/* Mobile (481px - 767px) */
@media (max-width: 767px) {
    .header-container {
        padding: 0.75rem 1.25rem;
    }
    
    .logo-svg {
        height: 44px;
        max-width: 150px;
    }
    
    .mobile-nav {
        width: 90%;
        max-width: 100%;
    }
    
    .hamburger-box {
        width: 26px;
    }
    
    .hamburger-inner,
    .hamburger-inner::before,
    .hamburger-inner::after {
        width: 26px;
    }
}

/* Small Mobile (≤ 480px) */
@media (max-width: 480px) {
    .header-container {
        padding: 0.65rem 1rem;
    }
    
    .logo-svg {
        height: 38px;
        max-width: 130px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .mobile-nav-header {
        padding: 1rem 1.25rem;
    }
    
    .mobile-menu .menu-item > a {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .hamburger-box {
        width: 24px;
        height: 18px;
    }
    
    .hamburger-inner,
    .hamburger-inner::before,
    .hamburger-inner::after {
        width: 24px;
        height: 2.5px;
    }
    
    .hamburger-inner::before {
        top: -7px;
    }
    
    .hamburger-inner::after {
        top: 7px;
    }
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* ========================================
   Footer Styles
======================================== */

.site-footer {
    background-color: var(--bg-dark);
    color: #ffffff;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo .site-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    margin-left: 1rem;
}

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

.footer-navigation li {
    margin-bottom: 0.5rem;
}

.footer-navigation a {
    color: #d1d5db;
    transition: var(--transition);
}

.footer-navigation a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
}

/* ========================================
   Hero Section
======================================== */

.hero-section {
    min-height: 800px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #ffffff;
    text-align: center;
}

/* Fix for mobile devices - background-attachment: fixed doesn't work well on mobile */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        min-height: 500px;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(30, 64, 175, 0.8));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Search Section
======================================== */

.search-section {
    background-color: var(--bg-light);
    padding: 3rem 0;
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-form select {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-color);
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.search-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-form select:disabled {
    background-color: var(--bg-light);
    cursor: not-allowed;
    opacity: 0.6;
}

/* ========================================
   Card Styles
======================================== */

.card-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.card-grid.cols-2 {
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
}

.card-grid.cols-3 {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.card-grid.cols-4 {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.card {
    background-color: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.card-title a {
    color: var(--text-color);
}

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

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-light);
}

.card-meta i {
    margin-right: 0.25rem;
}

.card-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.post-count {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ========================================
   Rating Styles
======================================== */

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.rating .stars {
    display: flex;
    gap: 0.25rem;
    color: #fbbf24;
}

.rating .stars i {
    font-size: 1.125rem;
}

.rating-value {
    font-weight: 600;
    color: var(--text-color);
}

.rating-votes {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ========================================
   Work Time Styles
======================================== */

.work-time {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.work-time h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.work-time h3 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

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

.work-time-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.work-time-list li:last-child {
    border-bottom: none;
}

.current-status {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
}

.status-open {
    background-color: #d1fae5;
    color: #065f46;
}

.status-closed {
    background-color: #fee2e2;
    color: #991b1b;
}

/* ========================================
   Attributes & Features
======================================== */

.attributes {
    margin: 2rem 0;
}

.attributes h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.attributes h3 i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

.attribute-category {
    margin-bottom: 1.5rem;
}

.attribute-category h4 {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.attribute-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.5rem;
}

.attribute-list li {
    padding: 0.5rem;
    background-color: var(--bg-light);
    border-radius: 6px;
}

.attribute-list i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

/* ========================================
   Contact Info & Place Topics
======================================== */

.contact-info,
.place-topics {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.contact-info h3,
.place-topics h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-info h3 i,
.place-topics h3 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.contact-list,
.topics-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li,
.topics-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-list li:last-child,
.topics-list li:last-child {
    border-bottom: none;
}

.contact-list i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    width: 20px;
}

.topic-name {
    font-weight: 600;
}

.topic-count {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ========================================
   Breadcrumbs
======================================== */

.breadcrumbs {
    padding: 1rem 0;
    background-color: var(--bg-light);
    margin-bottom: 2rem;
}

.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--primary-color);
    font-weight: 500;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .current {
    color: var(--text-light);
}

/* ========================================
   Single Post Styles
======================================== */

.single-post-header {
    margin-bottom: 2rem;
}

.single-post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.featured-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
}

.post-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.related-posts {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* ========================================
   Buttons
======================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--bg-light);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

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

/* ========================================
   Responsive Design
======================================== */

@media (max-width: 1024px) {
    .card-grid.cols-4 {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .card-grid.cols-3 {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.25rem;
    }
    
    .card-grid.cols-2,
    .card-grid.cols-3,
    .card-grid.cols-4 {
        grid-template-columns: 1fr;
    }
    
    .attribute-list {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        height: 300px;
    }
    
    .single-post-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 600px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .card-content {
        padding: 1rem;
    }
}

/* ========================================
   Utility Classes
======================================== */

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* ========================================
   Pagination Styles
======================================== */

.pagination-wrapper {
    width: 100%;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.pagination-wrapper ul.page-numbers {
    display: flex !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-wrapper ul.page-numbers li {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block;
}

.pagination-wrapper ul.page-numbers li a,
.pagination-wrapper ul.page-numbers li span {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.75rem !important;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.pagination-wrapper ul.page-numbers li a:hover {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.pagination-wrapper ul.page-numbers li span.current {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color);
}

.pagination-wrapper ul.page-numbers li .dots {
    border: none;
    background: none;
    color: var(--text-light);
}

.pagination-wrapper ul.page-numbers li a.prev,
.pagination-wrapper ul.page-numbers li a.next {
    font-weight: 600;
}

.pagination-wrapper ul.page-numbers i {
    font-size: 0.875rem;
    margin: 0 0.25rem;
}

@media (max-width: 768px) {
    .pagination-wrapper ul.page-numbers li a,
    .pagination-wrapper ul.page-numbers li span {
        min-width: 36px;
        height: 36px;
        padding: 0.375rem 0.5rem !important;
        font-size: 0.875rem;
    }
}