/*
Theme Name: AdamSuites
Theme URI: https://adamsuites.com
Description: Professional WordPress theme for AdamSuites corporate housing and medium-term rentals in Vancouver. Features responsive design, booking system integration, and modern amenities showcase.
Version: 1.0.0
Author: Mohamed Talib
Author URI: https://adamsuites.com
Text Domain: adamsuites
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: corporate-housing, rentals, booking, responsive, modern
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

/* ==============================================================================
   CSS VARIABLES
   ============================================================================== */
:root {
    --primary-color: #8B6B9E;
    --primary-dark: #6B4B7E;
    --primary-light: #AB8BBE;
    --secondary-color: #D4A574;
    --accent-color: #5A9EAD;
    
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --text-muted: #999999;
    
    --bg-white: #FFFFFF;
    --bg-light: #F8F8F8;
    --bg-dark: #2C2C2C;
    
    --border-color: #E0E0E0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --spacing: 24px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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;
}

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

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

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

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

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

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

/* ==============================================================================
   HEADER
   ============================================================================== */
.site-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.site-branding {
    flex: 0 0 auto;
}

.site-title h1 {
    font-size: 1.75rem;
    margin: 0;
    color: var(--primary-color);
}

.site-description {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.main-navigation {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
}

.primary-menu,
.default-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.primary-menu li,
.default-menu li {
    position: relative;
}

.primary-menu a,
.default-menu a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
}

.primary-menu a:hover,
.default-menu a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.menu-icon {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

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

.mobile-primary-menu li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-primary-menu a {
    display: block;
    padding: 1rem;
    color: var(--text-dark);
}

/* ==============================================================================
   HERO SECTION
   ============================================================================== */
.hero-section {
    background-color: #8B6B9E;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--bg-white);
    padding: 120px 0;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--bg-white);
    text-transform: none;
}

.hero-subtitle {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.3em;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero-divider {
    width: 200px;
    height: 1px;
    background-color: var(--bg-white);
    margin: 0 auto 1.5rem;
    opacity: 0.8;
}

.hero-tagline {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.3em;
    margin-bottom: 1.5rem;
    font-weight: 400;
    opacity: 0.95;
}

.hero-script {
    font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
    font-size: 3rem;
    font-weight: 400;
    margin-top: 1rem;
    opacity: 0.95;
    font-style: italic;
}

/* ==============================================================================
   BUTTONS
   ============================================================================== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

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

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

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

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

.btn-block {
    display: block;
    width: 100%;
}

/* ==============================================================================
   SUITES GRID
   ============================================================================== */
.suites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.suite-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.suite-image {
    overflow: hidden;
    height: 250px;
}

.suite-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.suite-card:hover .suite-image img {
    transform: scale(1.1);
}

.suite-content {
    padding: 1.5rem;
}

.suite-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

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

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

.suite-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* ==============================================================================
   FEATURES GRID
   ============================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* ==============================================================================
   ABOUT SECTION
   ============================================================================== */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text h3 {
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ==============================================================================
   CTA SECTION
   ============================================================================== */
.cta-section {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==============================================================================
   SINGLE SUITE
   ============================================================================== */
.suite-single-content {
    padding: 3rem 0;
}

.suite-header {
    text-align: center;
    margin-bottom: 3rem;
}

.suite-header .suite-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.suite-lead {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.suite-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.suite-gallery {
    margin-bottom: 2rem;
}

.gallery-featured {
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.gallery-thumb {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.gallery-thumb:hover {
    transform: scale(1.05);
}

.suite-description,
.suite-amenities,
.suite-details {
    margin-bottom: 2rem;
}

.suite-description h2,
.suite-amenities h2,
.suite-details h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

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

.amenities-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.amenities-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.details-grid {
    display: grid;
    gap: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background-color: var(--bg-light);
    border-radius: 6px;
}

.detail-label {
    font-weight: 600;
}

/* ==============================================================================
   SIDEBAR WIDGETS
   ============================================================================== */
.suite-sidebar {
    position: sticky;
    top: 100px;
}

.booking-widget,
.calendar-widget,
.pricing-widget,
.contact-widget {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.booking-widget h3,
.calendar-widget h3,
.pricing-widget h3,
.contact-widget h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.booking-note {
    background-color: var(--bg-light);
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.booking-note p {
    margin: 0;
    font-weight: 600;
    color: var(--text-dark);
}

.price-display {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-period {
    font-size: 1.25rem;
    color: var(--text-light);
}

.price-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
}

.suite-navigation {
    margin-top: 3rem;
    text-align: center;
}

/* ==============================================================================
   PAGE TEMPLATES
   ============================================================================== */
.page-content {
    padding: 3rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 3rem;
    color: var(--primary-color);
}

.page-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.contact-section {
    margin-top: 3rem;
}

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

.contact-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 12px;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.policy-highlight {
    margin-top: 3rem;
}

.alert {
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.alert-info {
    background-color: #E3F2FD;
    border-left: 4px solid #2196F3;
}

.alert h3 {
    color: #1976D2;
    margin-bottom: 1rem;
}

.cta-box {
    text-align: center;
    padding: 3rem;
    background-color: var(--bg-light);
    border-radius: 12px;
}

/* ==============================================================================
   FOOTER
   ============================================================================== */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--bg-white);
    padding-top: 4rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column .widget {
    margin-bottom: 2rem;
}

.footer-column .widget-title {
    color: var(--primary-light);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-column p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9375rem;
}

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

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.footer-info p {
    margin: 0;
    color: rgba(255,255,255,0.6);
}

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

/* ==============================================================================
   RESPONSIVE
   ============================================================================== */
@media (max-width: 1024px) {
    .suite-layout,
    .page-layout {
        grid-template-columns: 1fr;
    }
    
    .suite-sidebar {
        position: static;
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .suites-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 24px;
    }
}

/* ==============================================================================
   UTILITIES
   ============================================================================== */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ==============================================================================
   ELEMENTOR COMPATIBILITY
   ============================================================================== */

/* Elementor container integration */
.elementor-section {
    font-family: var(--font-primary);
}

.elementor-widget-heading .elementor-heading-title {
    font-family: var(--font-display);
    color: var(--text-dark);
}

/* Elementor buttons */
.elementor-button-wrapper .elementor-button {
    background-color: var(--primary-color);
    font-family: var(--font-primary);
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    padding: 14px 32px;
    border: none;
}

.elementor-button-wrapper .elementor-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Elementor text editor */
.elementor-widget-text-editor {
    font-family: var(--font-primary);
    color: var(--text-light);
    line-height: 1.8;
}

.elementor-widget-text-editor a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.elementor-widget-text-editor a:hover {
    color: var(--primary-dark);
}

/* Elementor full-width template */
.elementor-fullwidth .elementor-section.elementor-section-stretched {
    max-width: 100%;
}

/* Elementor canvas template */
body.elementor-canvas {
    margin: 0;
    padding: 0;
}

/* Elementor columns */
.elementor-column-gap-default > .elementor-column > .elementor-element-populated {
    padding: 15px;
}

/* Elementor images */
.elementor-widget-image img {
    border-radius: 8px;
    transition: var(--transition);
}

.elementor-widget-image:hover img {
    transform: scale(1.02);
}

/* Elementor divider */
.elementor-widget-divider {
    --divider-color: var(--border-color);
}

.elementor-widget-divider .elementor-divider-separator {
    border-color: var(--border-color);
}

/* Elementor icon list */
.elementor-widget-icon-list .elementor-icon-list-icon i {
    color: var(--primary-color);
}

.elementor-widget-icon-list .elementor-icon-list-text {
    color: var(--text-light);
}

/* Elementor spacer for proper spacing */
.elementor-widget-spacer {
    clear: both;
}

/* Elementor responsive */
@media (max-width: 1024px) {
    .elementor-section .elementor-container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .elementor-button-wrapper .elementor-button {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .elementor-column {
        margin-bottom: 30px;
    }
}

/* Elementor editor compatibility */
.elementor-editor-active .elementor-element {
    outline: 1px dashed rgba(139, 107, 158, 0.3);
}

