/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    text-decoration: none;
    line-height: 1.5;
}

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

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

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

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

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

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

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

.btn-white:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--color-white);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.header-logo img {
    height: 50px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-nav a {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 15px;
    color: var(--color-heading);
    padding: 8px 14px;
    border-radius: var(--radius-btn);
    transition: all var(--transition);
    white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--color-primary);
    background-color: rgba(235, 122, 97, 0.08);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--color-primary);
    font-size: 15px;
    white-space: nowrap;
}

.header-phone svg {
    width: 18px;
    height: 18px;
    fill: var(--color-primary);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-lg);
    min-width: 280px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 100;
}

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

.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 0;
}

.nav-dropdown-menu a:hover {
    background-color: rgba(235, 122, 97, 0.08);
}

/* Mobile menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-heading);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer h3 {
    color: var(--color-white);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-primary);
}

.footer p,
.footer li,
.footer a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    line-height: 1.8;
}

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

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '>';
    color: var(--color-primary);
    font-weight: bold;
    font-size: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    fill: var(--color-primary);
    flex-shrink: 0;
    margin-top: 3px;
}

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

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

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

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: var(--color-white);
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

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

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

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

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-heading);
    margin-bottom: 8px;
}

.card-text {
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-title);
    font-size: 14px;
    color: var(--color-text-muted);
}

.card-price {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--color-primary);
}

.card-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-muted);
}

/* Tour card specific */
.tour-card .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-top: 1px solid var(--color-border);
}

.tour-card .card-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-title);
    font-size: 14px;
    color: var(--color-text-muted);
}

/* Blog card */
.blog-card .card-img {
    height: 200px;
}

.blog-card .card-body {
    padding: 20px 20px 25px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: 15px 0;
    font-family: var(--font-title);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--color-text-muted);
}

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

.breadcrumb span {
    color: var(--color-text-muted);
    margin: 0 8px;
}

.breadcrumb .current {
    color: var(--color-primary);
    font-weight: 600;
}

/* ===== PAGE HERO ===== */
.page-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: var(--header-height);
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(4, 24, 39, 0.5), rgba(4, 24, 39, 0.7));
    z-index: -1;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    padding: 0 20px;
}

.page-hero-content h1 {
    color: var(--color-white);
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.page-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===== FORM ELEMENTS ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 15px;
    color: var(--color-heading);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-btn);
    transition: border-color var(--transition);
    background: var(--color-white);
    color: var(--color-body);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(235, 122, 97, 0.15);
}

.form-control::placeholder {
    color: #aaa;
}

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

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-error {
    color: #e53e3e;
    font-size: 13px;
    margin-top: 4px;
    display: none;
    font-family: var(--font-title);
}

.form-control.error {
    border-color: #e53e3e;
}

.form-control.error + .form-error {
    display: block;
}

/* ===== TESTIMONIALS ===== */
.testimonial {
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial::before {
    content: '\201C';
    font-size: 60px;
    color: var(--color-primary);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 15px;
    padding-top: 20px;
}

.testimonial-author {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--color-heading);
}

.testimonial-stars {
    color: var(--color-secondary);
    font-size: 18px;
    letter-spacing: 2px;
}

/* Content padding for pages below fixed header */
.page-content {
    padding-top: var(--header-height);
}
