/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/
Description: A luxury hotel and resort child theme for Hello Elementor, replicating Sea Pearl.
Author: Antigravity
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Jost:wght@300;400;500;600;700&display=swap');

:root {
    --hotel-primary: #c5a880;
    --hotel-primary-hover: #b3946a;
    --hotel-dark: #1e1e1e;
    --hotel-light: #f9f6f0;
    --hotel-border: #e5dec9;
    --hotel-text: #555555;
    --hotel-heading: #1e1e1e;
}

body {
    font-family: 'Jost', sans-serif;
    color: var(--hotel-text);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.luxury-heading {
    font-family: 'Cormorant Garamond', serif;
    color: var(--hotel-heading);
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Custom buttons */
.btn-luxury {
    background-color: var(--hotel-primary) !important;
    color: #fff !important;
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 12px 30px;
    border-radius: 0 !important;
    border: 1px solid var(--hotel-primary) !important;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
}

.btn-luxury:hover {
    background-color: transparent !important;
    color: var(--hotel-primary) !important;
    border-color: var(--hotel-primary) !important;
}

/* Room Grid Card */
.room-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.room-card {
    background-color: #fff;
    border: 1px solid var(--hotel-border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: var(--hotel-primary);
}

.room-card-image {
    position: relative;
    overflow: hidden;
    padding-top: 66.67%; /* 3:2 Aspect Ratio */
}

.room-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-card:hover .room-card-image img {
    transform: scale(1.05);
}

.room-card-content {
    padding: 25px;
}

.room-card-title {
    font-size: 24px;
    margin-bottom: 12px;
    font-family: 'Cormorant Garamond', serif;
}

.room-card-title a {
    color: var(--hotel-heading);
    text-decoration: none;
    transition: color 0.3s;
}

.room-card-title a:hover {
    color: var(--hotel-primary);
}

.room-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #777;
    margin-bottom: 20px;
    border-top: 1px solid #f1eeeb;
    border-bottom: 1px solid #f1eeeb;
    padding: 10px 0;
}

.room-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.room-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.room-card-price {
    font-size: 18px;
    color: var(--hotel-primary);
    font-weight: 600;
}

.room-card-price span {
    font-size: 12px;
    color: #888;
    font-weight: 400;
}

/* Room Details V1 Single Page Layout */
.single-room-header {
    background-color: var(--hotel-light);
    padding: 60px 0;
    border-bottom: 1px solid var(--hotel-border);
    margin-bottom: 40px;
}

.room-detail-slider {
    margin-bottom: 30px;
    position: relative;
    border: 1px solid var(--hotel-border);
}

.room-features-box {
    background-color: var(--hotel-light);
    border: 1px solid var(--hotel-border);
    padding: 30px;
    margin-bottom: 30px;
}

.room-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.room-feature-item {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--hotel-text);
}

.room-feature-item i {
    color: var(--hotel-primary);
}

/* Booking Widget Sidebar */
.booking-widget {
    border: 1px solid var(--hotel-border);
    background-color: #fff;
    padding: 30px;
    position: sticky;
    top: 100px;
}

.booking-widget-title {
    font-size: 22px;
    border-bottom: 1px solid var(--hotel-border);
    padding-bottom: 15px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.booking-widget-price {
    font-size: 28px;
    color: var(--hotel-primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.booking-widget-price span {
    font-size: 14px;
    color: var(--hotel-text);
    font-weight: 400;
}

.booking-widget-fields {
    margin-bottom: 20px;
}

.booking-widget-fields label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    color: var(--hotel-dark);
}

.booking-widget-fields input,
.booking-widget-fields select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--hotel-border);
    background-color: var(--hotel-light);
    font-family: 'Jost', sans-serif;
    margin-bottom: 15px;
    outline: none;
}

.booking-widget-fields input:focus,
.booking-widget-fields select:focus {
    border-color: var(--hotel-primary);
}

/* Fix header and booking form stacking context issues (being covered by hero slider) */
#masthead,
.cs_site_header {
    z-index: 99999 !important;
}

.elementor-element-3c96018 {
    position: relative !important;
    z-index: 999 !important;
}

/* Fix subpage header menu text color */
header.cs_relative .cs_nav_list > li > a {
    color: #000 !important;
}
header.cs_relative .cs_nav_list > li > a:hover {
    color: var(--hotel-primary) !important;
}
