/* ============================= */
/* Rooms Page - Stoneberry Resort */
/* ============================= */

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

/* Rooms Page Variables */
:root {
    --rooms-primary: var(--copper-primary);
    --rooms-primary-dark: var(--copper-dark);
    --rooms-dark-bg: #1a1a1a;
    --rooms-dark-text: var(--text-dark);
    --rooms-light-bg: #f8f6f2;
    --rooms-white: var(--white);
    --rooms-tan-pearl: #e8d9c7;
    --rooms-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --rooms-transition: all 0.3s ease;
}

/* Rooms Hero Section */
.rooms-hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.5)), 
                url('https://www.jusjumpin.com/wp-content/uploads/2025/10/WhatsApp-Image-2025-10-17-at-3.46.43-PM-scaled.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--rooms-white);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.rooms-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(205, 130, 97, 0.1), rgba(26, 26, 26, 0.8));
    z-index: 1;
}

.rooms-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.5s ease;
}

.rooms-hero h1 {
    font-family: 'TAN - PEARL', var(--font-playfair-display), serif;
    font-size: clamp(40px, 6vw, 60px);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--rooms-white);
    line-height: 1.5;
}

.rooms-hero p {
    font-size: clamp(16px, 2.2vw, 18px);
    margin-bottom: 30px;
    color: var(--rooms-tan-pearl);
    font-family: var(--font-playfair-display);
    opacity: 0.95;
}

.rooms-hero .btn {
    display: inline-block;
    background: linear-gradient(to right, var(--rooms-primary), var(--rooms-primary-dark));
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--rooms-transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 8px 25px rgba(205, 130, 97, 0.4);
}

.rooms-hero .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(205, 130, 97, 0.6);
    background: linear-gradient(to right, var(--rooms-primary-dark), var(--rooms-primary));
}

/* Room Types Section */
.rooms-types {
    background-color: var(--rooms-dark-bg);
    color: var(--rooms-white);
    padding: 100px 0;
    position: relative;
}

.rooms-types::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1200px 600px at 20% -10%, rgba(205,130,97,0.08), transparent 60%),
        radial-gradient(900px 500px at 110% 10%, rgba(205,130,97,0.06), transparent 65%);
    pointer-events: none;
}

.rooms-section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.rooms-section-header h2 {
    font-family: 'TAN - PEARL', var(--font-playfair-display), serif;
    font-size: clamp(32px, 4.5vw, 42px);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    color: var(--rooms-tan-pearl);
}

.rooms-section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--rooms-primary);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.room-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--rooms-transition);
    box-shadow: var(--rooms-shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(205, 130, 97, 0.3);
}

.room-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

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

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

.room-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(205, 130, 97, 0.1), transparent);
    opacity: 0;
    transition: var(--rooms-transition);
}

.room-card:hover .room-image::after {
    opacity: 1;
}

.room-content {
    padding: 30px;
}

.room-content h3 {
    font-family: var(--font-playfair-display);
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--rooms-tan-pearl);
}

.room-content p {
    margin-bottom: 20px;
    color: #ccc;
    line-height: 1.6;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.room-feature {
    background: rgba(205, 130, 97, 0.2);
    color: var(--rooms-primary);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(205, 130, 97, 0.3);
}

.room-price {
    font-size: 22px;
    font-weight: 600;
    color: var(--rooms-tan-pearl);
    margin-bottom: 20px;
    font-family: var(--font-playfair-display);
}

.room-card .btn {
    display: inline-block;
    background: linear-gradient(to right, var(--rooms-primary), var(--rooms-primary-dark));
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--rooms-transition);
    border: none;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.room-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(205, 130, 97, 0.4);
    background: linear-gradient(to right, var(--rooms-primary-dark), var(--rooms-primary));
}

/* Amenities Section */
.rooms-amenities {
    background-color: var(--rooms-light-bg);
    padding: 100px 0;
    position: relative;
}

.rooms-amenities::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1200px 600px at 20% -10%, rgba(205,130,97,0.05), transparent 60%),
        radial-gradient(900px 500px at 110% 10%, rgba(205,130,97,0.03), transparent 65%);
    pointer-events: none;
}

.rooms-amenities .rooms-section-header h2 {
    color: var(--rooms-dark-text);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px 30px;
    position: relative;
    z-index: 2;
    justify-items: center;
}

.amenity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 26px 22px;
    border-radius: 16px;
    box-shadow: var(--rooms-shadow);
    transition: var(--rooms-transition);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    max-width: 360px;
    width: 100%;
}

.amenity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(205, 130, 97, 0.2);
}

.amenity-icon {
    font-size: 28px;
    color: var(--rooms-primary);
    margin: 0 0 12px 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(205, 130, 97, 0.1);
    border-radius: 50%;
    transition: var(--rooms-transition);
}

.amenity-item:hover .amenity-icon {
    background: rgba(205, 130, 97, 0.2);
    transform: scale(1.1);
}

.amenity-text {
    font-size: 15px;
    color: var(--rooms-dark-text);
    font-weight: 500;
    line-height: 1.4;
}

/* Experiences Section */
.rooms-experiences {
    background-color: var(--rooms-dark-bg);
    color: var(--rooms-white);
    padding: 100px 0;
    position: relative;
}

.rooms-experiences::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1200px 600px at 20% -10%, rgba(205,130,97,0.08), transparent 60%),
        radial-gradient(900px 500px at 110% 10%, rgba(205,130,97,0.06), transparent 65%);
    pointer-events: none;
}

.rooms-experiences .rooms-section-header h2 {
    color: var(--rooms-tan-pearl);
}

.experiences-description {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ccc;
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.experiences-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 2;
}

.gallery-item {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    transition: var(--rooms-transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--rooms-transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 25px;
    color: var(--rooms-white);
    opacity: 0;
    transition: var(--rooms-transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    font-family: var(--font-playfair-display);
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--rooms-tan-pearl);
}

/* CTA Section */
.rooms-cta-section {
    background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8)), 
                url('https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 100px 0;
    color: var(--rooms-white);
    position: relative;
}

.rooms-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(205, 130, 97, 0.1), rgba(26, 26, 26, 0.9));
    z-index: 1;
}

.rooms-cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.rooms-cta-content h2 {
    font-family: 'TAN - PEARL', var(--font-playfair-display), serif;
    font-size: clamp(32px, 4.5vw, 42px);
    margin-bottom: 20px;
    color: var(--rooms-white);
}

.rooms-cta-content p {
    font-size: clamp(16px, 2.2vw, 18px);
    margin-bottom: 30px;
    color: var(--rooms-tan-pearl);
    opacity: 0.95;
}

.rooms-cta-content .btn {
    display: inline-block;
    background: linear-gradient(to right, var(--rooms-primary), var(--rooms-primary-dark));
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--rooms-transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 8px 25px rgba(205, 130, 97, 0.4);
}

.rooms-cta-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(205, 130, 97, 0.6);
    background: linear-gradient(to right, var(--rooms-primary-dark), var(--rooms-primary));
}

/* Weddings & Corporate Events */
.rooms-events {
	background-color: var(--rooms-light-bg);
	padding: 100px 0;
	position: relative;
}

.rooms-events::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(1200px 600px at 20% -10%, rgba(205,130,97,0.05), transparent 60%),
		radial-gradient(900px 500px at 110% 10%, rgba(205,130,97,0.03), transparent 65%);
	pointer-events: none;
}

.rooms-events .premium-heading {
	font-family: 'TAN - PEARL', var(--font-playfair-display), serif;
	color: var(--rooms-dark-text);
    font-size: clamp(28px, 4.5vw, 45px);
    max-width: 1200px;
    line-height: inherit;
}

.rooms-events .section-subheading {
	max-width: 900px;
	margin: 15px auto 0;
	color: #555;
	line-height: 1.6;
}

/* .events-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: 30px;
	position: relative;
	z-index: 2;
}

.event-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--rooms-shadow);
	transition: var(--rooms-transition);
	border: 1px solid rgba(0,0,0,0.06);
}

.event-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 36px rgba(0,0,0,0.15);
}

.event-image {
	height: 260px;
	overflow: hidden;
	position: relative;
}

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

.event-card:hover .event-image img {
	transform: scale(1.06);
}

.event-content {
	padding: 26px;
}

.event-content h3 {
	font-family: var(--font-playfair-display);
	color: var(--rooms-primary-dark);
	margin-bottom: 10px;
	font-size: 22px;
}

.event-content p {
	color: #444;
	line-height: 1.6;
	margin-bottom: 18px;
}

.event-content .btn {
	display: inline-block;
	background: linear-gradient(to right, var(--rooms-primary), var(--rooms-primary-dark));
	color: #fff;
	padding: 12px 26px;
	border-radius: 28px;
	text-decoration: none;
	font-weight: 600;
	transition: var(--rooms-transition);
	border: none;
	cursor: pointer;
}

.event-content .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(205, 130, 97, 0.35);
}
.highlight{
	color: var(--rooms-primary);
}
.highlight:hover{
	color: var(--rooms-primary-dark);
}
.highlight:hover{
	color: var(--rooms-primary-dark);
}

@media (max-width: 768px){
	.rooms-events {
		padding: 60px 0;
	}
	.event-image {
		height: 220px;
	}
} */
/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.event-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.15);
}

.event-image {
    height: 380px; /* Increased height for vertical rectangle */
    overflow: hidden;
    position: relative;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.event-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-content h3 {
    font-family: 'TAN - PEARL', var(--font-playfair-display), serif;
    font-size: 1.5rem;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--rooms-dark-text);
}

.event-content p {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
}

.event-content .btn {
    align-self: flex-start;
    background: linear-gradient(135deg, var(--rooms-primary), var(--rooms-primary-dark));
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
    margin-top: auto;
}

.event-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(205, 130, 97, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .event-image {
        height: 300px; /* Slightly smaller on mobile */
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}
/* Animations */
@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure content is visible when JS is disabled or fails */
html:not(.js) .fade-in {
    opacity: 1;
    transform: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .rooms-hero h1 {
        font-size: clamp(36px, 5.5vw, 48px);
    }
    
    .rooms-section-header h2 {
        font-size: clamp(28px, 4vw, 36px);
    }
    
    .rooms-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .rooms-hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .rooms-hero h1 {
        font-size: clamp(32px, 5vw, 36px);
    }
    
    .rooms-hero p {
        font-size: 16px;
    }
    
    .rooms-section-header h2 {
        font-size: clamp(24px, 4vw, 32px);
    }
    
    .rooms-types,
    .rooms-amenities,
    .rooms-experiences,
    .rooms-cta-section {
        padding: 60px 0;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .experiences-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .room-content {
        padding: 25px;
    }
    
    .amenity-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .rooms-hero h1 {
        font-size: 28px;
    }
    
    .rooms-section-header h2 {
        font-size: 24px;
    }
    
    .room-content h3 {
        font-size: 20px;
    }
    
    .rooms-cta-content h2 {
        font-size: 28px;
    }
    
    .room-content {
        padding: 20px;
    }
    
    .amenity-item {
        padding: 15px;
    }
    
    .amenity-icon {
        font-size: 24px;
        width: 40px;
        padding: 10px;
    }
    
    .amenity-text {
        font-size: 14px;
    }
}
