/*
Theme Name: Asilah City Theme
Theme URI: https://asilah.city
Author: Custom Theme
Author URI: https://asilah.city
Description: A custom WordPress theme for Asilah city tourism website with booking integration, multilingual support, and modern design.
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: asilah-theme
Tags: tourism, travel, booking, multilingual, responsive
*/

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

:root {
    --primary-color: #2e6ac2;
    --primary-dark: #1e4a8a;
    --secondary-color: #ffc107;
    --text-dark: #333;
    --text-light: #666;
    --text-white: #fff;
    --border-color: #e0e0e0;
    --bg-light: #f5f5f5;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* ============================================
   HEADER STYLES
============================================ */
.header-area {
    background: var(--primary-color);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

/* Weather Widget */
.weather-widget {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-white);
}

.weather-icon {
    font-size: 48px;
    color: var(--text-white);
}

.temp {
    font-weight: bold;
    font-size: 18px;
    color: #aaa;
}

/* Navigation */
.basic-menu nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.basic-menu nav ul li a {
    color: var(--text-white);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.basic-menu nav ul li a:hover {
    opacity: 0.8;
}

.basic-menu nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.basic-menu nav ul li a:hover::after {
    width: 100%;
}

/* Language Switcher */
.basic-menu nav ul li.menu-item-has-children {
    position: relative;
}

.basic-menu nav ul li.menu-item-has-children .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--text-white);
    padding: 10px 0;
    border-radius: 4px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 150px;
}

.basic-menu nav ul li.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.basic-menu nav ul li.menu-item-has-children .sub-menu li {
    padding: 0;
}

.basic-menu nav ul li.menu-item-has-children .sub-menu li a {
    color: var(--text-dark);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.basic-menu nav ul li.menu-item-has-children .sub-menu li a:hover {
    background: var(--bg-light);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
}

/* ============================================
   HERO SECTION / HOMEPAGE AREA
============================================ */
.area-homepage {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, #2e6ac2 0%, #1e4a8a 100%);
    background-image: url('img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.area-homepage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        rgba(46, 106, 194, 1),
        rgba(46, 106, 194, 0.6) 40%,
        rgba(46, 106, 194, 0.6) 85%,
        rgba(46, 106, 194, 0.1)
    );
}

.area-homepage .container {
    position: relative;
    z-index: 2;
}

.area-homepage h1 {
    font-size: 72px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.area-homepage-p {
    font-size: 24px;
    color: var(--text-white);
    margin-bottom: 40px;
    font-weight: 300;
}

/* ============================================
   BOOKING FORM
============================================ */
.promote-area-booking-form form {
    background: var(--text-white);
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    margin-bottom: 30px;
}

.input_fields {
    padding: 0;
}

.input_fields .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.input_fields .row > div {
    padding: 30px;
}

.destination {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.destination label {
    font-size: 20px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.destination p {
    font-size: 14px;
    line-height: 1.5;
}

.dates {
    background: var(--text-white);
}

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

.dates input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.dates input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search {
    background: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search button {
    background: #0088ff;
    color: var(--text-white);
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.search button:hover {
    background: #0066cc;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Booking Benefits */
#booking-form-benefits {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 0;
    border-radius: 8px;
    margin-top: 30px;
}

#booking-form-benefits .row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

#booking-form-benefits .col-lg-4 {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

#booking-form-benefits .material-symbols-outlined {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

#booking-form-benefits strong {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

#booking-form-benefits p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.hall {
    display: block;
    text-align: center;
    margin-top: 20px;
}

.hall a {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 12px 30px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hall a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ============================================
   CONTENT SECTIONS
============================================ */
.package-area {
    padding: 60px 0;
    background: var(--bg-light);
}

.header-section {
    text-align: center;
    margin-bottom: 50px;
}

.header-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.header-section p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Post Cards */
.single-package {
    background: var(--text-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

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

.package-img {
    position: relative;
    overflow: hidden;
    padding-bottom: 62.5%; /* 16:10 aspect ratio */
}

.package-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.single-package:hover .package-img img {
    transform: scale(1.05);
}

.package-cost {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px 15px 15px;
}

.package-cost a {
    color: var(--text-white);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.single-package p {
    padding: 20px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   FOOTER
============================================ */
.footer-area {
    background: var(--primary-color);
    color: var(--text-white);
}

.footer-top-area {
    padding: 40px 0;
    text-align: center;
}

.footer-widget img {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.footer-widget p {
    font-size: 16px;
    margin-bottom: 10px;
}

.copyright-area {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright {
    text-align: center;
    font-size: 14px;
}

.copyright a {
    color: var(--text-white);
    text-decoration: underline;
}

.copyright a:hover {
    opacity: 0.8;
}

/* ============================================
   RESPONSIVE GRID
============================================ */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, 
.col-lg-6, .col-lg-9, .col-lg-12,
.col-md-3, .col-md-4, .col-md-6, .col-md-12,
.col-6 {
    padding: 0 15px;
    width: 100%;
}

@media (min-width: 768px) {
    .col-md-3 { width: 25%; }
    .col-md-4 { width: 33.333%; }
    .col-md-6 { width: 50%; }
    .col-md-12 { width: 100%; }
    .col-6 { width: 50%; }
}

@media (min-width: 992px) {
    .col-lg-1 { width: 8.333%; }
    .col-lg-2 { width: 16.666%; }
    .col-lg-3 { width: 25%; }
    .col-lg-4 { width: 33.333%; }
    .col-lg-6 { width: 50%; }
    .col-lg-9 { width: 75%; }
    .col-lg-12 { width: 100%; }
}

/* ============================================
   UTILITIES
============================================ */
.pt-30 { padding-top: 30px; }
.pb-30 { padding-bottom: 30px; }
.mb-25 { margin-bottom: 25px; }
.mb-30 { margin-bottom: 30px; }
.text-center { text-align: center; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.f-right { float: right; }

/* ============================================
   RESPONSIVE DESIGN
============================================ */
@media (max-width: 991px) {
    .area-homepage h1 {
        font-size: 48px;
    }
    
    .area-homepage-p {
        font-size: 18px;
    }
    
    .input_fields .row {
        flex-direction: column;
    }
    
    .basic-menu {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    #booking-form-benefits .row {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .area-homepage h1 {
        font-size: 36px;
    }
    
    .area-homepage-p {
        font-size: 16px;
    }
    
    .header-section h2 {
        font-size: 28px;
    }
    
    .weather-widget {
        display: none;
    }
}
