/*
Theme Name: Hotel Star Abashik - Custom Theme
Theme URI: https://hotelstarabashik.com
Author: Masud Rana
Author URI: https://hotelstarabashik.com
Description: Custom Elementor-compatible WordPress theme for Hotel Star Abashik. Designed & Developed by Masud Rana. All rights reserved. Developer Contact: 01918712861 (WhatsApp)
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary - All Rights Reserved by Masud Rana
License URI: https://hotelstarabashik.com
Text Domain: masudrana-developer
Tags: hotel, elementor, custom-logo, custom-menu, featured-images, translation-ready, full-width-template

© 2024-2026 Masud Rana. All Rights Reserved.
Developed by: Masud Rana | WhatsApp: 01918712861
Unauthorized copying, modification, or distribution of this theme is strictly prohibited.
*/

/* ============================================
   CSS RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Brand Colors */
    --color-primary: #1a3c5e;
    --color-primary-dark: #0f2a45;
    --color-primary-light: #2d5f8a;
    --color-secondary: #c8a45c;
    --color-secondary-dark: #a8883e;
    --color-secondary-light: #dfc07a;
    --color-accent: #e8b84b;

    /* Neutrals */
    --color-white: #ffffff;
    --color-off-white: #f8f7f4;
    --color-light-gray: #f0eeeb;
    --color-mid-gray: #d1cec9;
    --color-gray: #8a8680;
    --color-dark-gray: #4a4744;
    --color-charcoal: #2d2b29;
    --color-black: #1a1918;

    /* Functional */
    --color-success: #2d8a4e;
    --color-error: #c44b4b;
    --color-info: #3d7cb8;

    /* Typography */
    --font-primary: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
    --font-heading: 'Playfair Display', 'Hind Siliguri', serif;
    --font-english: 'Inter', 'Hind Siliguri', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Layout */
    --container-max: 1200px;
    --container-wide: 1400px;
    --header-height: 80px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    color: var(--color-dark-gray);
    background-color: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

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

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

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

/* ============================================
   LAYOUT HELPERS
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section-padding {
    padding: var(--space-4xl) 0;
}

/* ============================================
   WORDPRESS CORE CLASSES
   ============================================ */
.alignleft {
    float: left;
    margin-right: var(--space-lg);
    margin-bottom: var(--space-md);
}

.alignright {
    float: right;
    margin-left: var(--space-lg);
    margin-bottom: var(--space-md);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-md);
}

.alignwide {
    max-width: var(--container-wide);
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100%;
    max-width: 100%;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--color-gray);
    padding: var(--space-sm) 0;
}

.sticky,
.gallery-caption,
.bypostauthor {
    /* WordPress required classes */
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

/* ============================================
   HEADER STYLES (Fallback when not using Elementor)
   ============================================ */
.site-header {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: box-shadow var(--transition-base);
}

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

.header-top-bar {
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-sm) 0;
    font-size: 0.85rem;
}

.header-top-bar a {
    color: var(--color-secondary-light);
}

.header-top-bar a:hover {
    color: var(--color-white);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-xl);
    max-width: var(--container-wide);
    margin: 0 auto;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.site-branding img {
    max-height: 60px;
    width: auto;
}

.site-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.2;
}

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

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

.site-description {
    font-size: 0.8rem;
    color: var(--color-gray);
    margin: 0;
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--color-dark-gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width var(--transition-base);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
    width: 80%;
}

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

/* Sub-menus */
.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    min-width: 200px;
    padding: var(--space-sm) 0;
    flex-direction: column;
    gap: 0;
    z-index: 100;
}

.main-navigation li:hover>ul {
    display: flex;
}

.main-navigation ul ul a {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9rem;
}

.main-navigation ul ul a::after {
    display: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    margin: 5px 0;
    transition: all var(--transition-base);
}

/* ============================================
   FOOTER STYLES (Fallback when not using Elementor)
   ============================================ */
.site-footer {
    background: var(--color-primary-dark);
    color: var(--color-white);
    padding: var(--space-3xl) 0 0;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--space-xl) var(--space-2xl);
}

.footer-widget h3,
.footer-widget h4 {
    color: var(--color-secondary);
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
}

.footer-widget p,
.footer-widget li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-widget a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: var(--space-sm);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-lg) var(--space-xl);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   BUTTON STYLES
   ============================================ */
.btn,
button[type="submit"],
input[type="submit"] {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    line-height: 1.5;
}

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

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

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

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

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

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

.btn-whatsapp {
    background: #25D366;
    color: var(--color-white);
}

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

/* ============================================
   FORM STYLES
   ============================================ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-mid-gray);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--color-dark-gray);
    background: var(--color-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26, 60, 94, 0.1);
}

/* ============================================
   ELEMENTOR OVERRIDES & COMPATIBILITY
   ============================================ */
.elementor-page .site-header,
.elementor-page .site-footer {
    /* Let Elementor handle header/footer if using Elementor Header/Footer */
}

.elementor-section.elementor-section-full_width>.elementor-container {
    max-width: 100%;
}

/* Ensure Elementor widgets inherit theme typography */
.elementor-widget-text-editor {
    font-family: var(--font-primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        box-shadow: var(--shadow-lg);
        padding: var(--space-md);
    }

    .main-navigation.toggled ul {
        display: flex;
    }

    .main-navigation ul ul {
        position: static;
        box-shadow: none;
        padding-left: var(--space-lg);
    }

    .header-main {
        padding: var(--space-md);
    }

    .footer-widgets {
        grid-template-columns: 1fr;
    }

    .container,
    .container-wide {
        padding: 0 var(--space-md);
    }

    .section-padding {
        padding: var(--space-2xl) 0;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
}