/*
Theme Name: BuiTravel Theme
Theme URI: https://buitravel.com
Author: BuiTravel Team
Author URI: https://buitravel.com
Description: A modern WordPress theme for travel and tour booking websites. Features custom tour post types, responsive design, and integrated booking functionality.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: buitravel-theme
Tags: travel, tours, booking, responsive, custom-post-types

BuiTravel Theme, Copyright 2026
BuiTravel Theme is distributed under the terms of the GNU GPL.
*/

/* ==========================================================================
   Global Styles
   ========================================================================== */

:root {
    /* Colors */
    --background: lab(98.857% -.193059 .730455);
    --foreground: lab(9.46212% -1.05693 -6.42658);
    --card: lab(100% 0 0);
    --card-foreground: lab(9.46212% -1.05693 -6.42658);
    --popover: lab(100% 0 0);
    --popover-foreground: lab(9.46212% -1.05693 -6.42658);
    --primary: lab(20.6116% -.0234246 -27.6176);
    --primary-foreground: lab(98.857% -.193059 .730455);
    --secondary: lab(90.5604% 3.99765 -.753808);
    --secondary-foreground: lab(9.46212% -1.05693 -6.42658);
    --muted: lab(95.4023% -.478983 1.8288);
    --muted-foreground: lab(44.2851% -1.12927 -5.45663);
    --accent: lab(68.986% 48.3832 -9.31493);
    --accent-foreground: lab(98.857% -.193059 .730455);
    --destructive: lab(48.4493% 77.4328 61.5452);
    --destructive-foreground: lab(98.857% -.193059 .730455);
    --border: lab(90.7623% -.478745 1.82898);
    --input: lab(90.7623% -.478745 1.82898);
    --ring: lab(43.9603% -2.77504 -28.0458);
    --chart-1: lab(57.1026% 64.2584 89.8886);
    --chart-2: lab(55.0223% -41.0774 -3.90277);
    --chart-3: lab(30.372% -13.1853 -18.7887);
    --chart-4: lab(80.1641% 16.6016 99.2089);
    --chart-5: lab(72.7183% 31.8672 97.9407);
    --sidebar: lab(98.26% 0 0);
    --sidebar-foreground: lab(2.75381% 0 0);
    --sidebar-primary: lab(7.78201% -.0000149012 0);
    --sidebar-primary-foreground: lab(98.26% 0 0);
    --sidebar-accent: lab(96.52% -.0000298023 .0000119209);
    --sidebar-accent-foreground: lab(7.78201% -.0000149012 0);
    --sidebar-border: lab(90.952% 0 -.0000119209);
    --sidebar-ring: lab(66.128% -.0000298023 .0000119209);
    --color-black: #000;
    --color-white: #fff;
    --color-border: var(--border);
    
    /* Spacing */
    --spacing: .25rem;
    
    /* Container Sizes */
    --container-sm: 24rem;
    --container-lg: 32rem;
    --container-3xl: 48rem;
    --container-4xl: 56rem;
    --container-5xl: 64rem;
    --container-7xl: 80rem;
    
    /* Typography */
    --text-xs: .75rem;
    --text-xs--line-height: calc(1 / .75);
    --text-sm: .875rem;
    --text-sm--line-height: calc(1.25 / .875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --text-5xl: 3rem;
    --text-5xl--line-height: 1;
    --text-6xl: 3.75rem;
    --text-6xl--line-height: 1;
    
    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Letter Spacing & Line Height */
    --tracking-tight: -.025em;
    --tracking-widest: .1em;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    
    /* Border Radius */
    --radius-xs: .125rem;
    --radius: 0.5rem;
    
    /* Transitions & Animations */
    --ease-in-out: cubic-bezier(.4, 0, .2, 1);
    --animate-spin: spin 1s linear infinite;
    --animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    
    /* Aspect Ratios */
    --aspect-video: 16 / 9;
    
    /* Font Families */
    --default-font-family: "Geist", "Geist Fallback";
    --default-mono-font-family: "Geist Mono", "Geist Mono Fallback";
    
    /* Legacy color variables for backwards compatibility */
    --primary-color: var(--primary);
    --secondary-color: var(--secondary);
    --text-color: var(--foreground);
    --light-gray: var(--muted);
    --border-color: var(--border);
    --white: var(--card);
    --success: #10b981;
    --error: var(--destructive);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--default-font-family), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: var(--text-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--leading-normal);
    letter-spacing: normal;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
}

/* ==========================================================================
   WordPress Core Classes
   ========================================================================== */

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .container {
        padding: 0 15px;
    }
}
