/* The Pearl Resort - Custom CSS */

:root {
    --color-navy: #09172e;
    --color-navy-dark: #050d1a;
    --color-cream: #fbf9f4;
    --color-cream-dark: #f0ebd9;
    --color-gold: #d4ae5e;
    --color-gold-hover: #b59247;
    --color-text-dark: #1a1a1a;
    --color-text-muted: #737373;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.8s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-cream);
    overflow-x: hidden;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
}

.text-center { text-align: center; }
.text-navy { color: var(--color-navy); }
.text-cream { color: var(--color-cream); }
.text-gold { color: var(--color-gold); }
.text-muted { color: var(--color-text-muted); }

.kicker {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Background Utilities */
.bg-navy { background-color: var(--color-navy); }
.bg-cream { background-color: var(--color-cream); }

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    border-radius: 4px;
}

.btn-pill {
    border-radius: 50px;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-navy);
    border: 1px solid var(--color-gold);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-cream);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-cream);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--color-navy);
    border: 1px solid var(--color-gold);
}

.btn-outline-gold:hover {
    background-color: var(--color-gold);
    color: var(--color-navy);
}

.btn i {
    margin-right: 0.5rem;
}

/* Section Header styling like PDF */
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.section-header .line {
    height: 1px;
    background-color: var(--color-gold);
    flex: 0 1 100px;
}

.section-title {
    font-size: 3rem;
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.bg-navy .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background-image: url('front_gate.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--color-cream);
    padding: 2rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(9, 23, 46, 0.4) 0%, rgba(9, 23, 46, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-circle {
    width: 120px;
    height: 120px;
    background-color: var(--color-cream);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-navy);
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(212, 174, 94, 0.3);
    border: 2px solid var(--color-gold);
}

.logo-sub {
    font-size: 0.7rem;
    letter-spacing: 3px;
    margin-bottom: -5px;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1;
}

.hero-location {
    font-size: 0.8rem;
    letter-spacing: 5px;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-actions .btn {
    border-radius: 50px;
}

/* Stats Section */
.stats-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 4rem 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h2 {
    color: var(--color-gold);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* Offerings Grid */
.offerings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1000px;
}

.offering-card {
    padding: 4rem;
    text-align: center;
    transition: background-color var(--transition-fast);
}

.offering-card:hover {
    background-color: white;
}

.border-bottom {
    border-bottom: 1px solid var(--color-cream-dark);
}

.border-right {
    border-right: 1px solid var(--color-cream-dark);
}

.offering-card h3 {
    font-size: 2rem;
    color: var(--color-navy);
    margin-bottom: 1rem;
}

.offering-card p {
    color: var(--color-text-muted);
}

/* Split Features (Pool & Luxurious Escape) */
.pool-feature, .luxurious-escape {
    display: flex;
    padding: 0;
    min-height: 600px;
}

.feature-image {
    flex: 1;
    overflow: hidden;
}

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

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

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 5%;
}

.feature-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.feature-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.line-bullet {
    display: inline-block;
    width: 30px;
    height: 1px;
    background-color: var(--color-gold);
    margin-right: 15px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
    list-style: none;
    margin-bottom: 3rem;
}

.amenities-grid li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--color-navy);
}

/* Testimonials */
.rating-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4rem;
}

.rating-score {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1;
}

.rating-stars-container {
    text-align: center;
    margin: 1rem 0 2rem;
}

.rating-stars-container .stars {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.rating-actions {
    display: flex;
    gap: 1rem;
}

.rating-actions .btn {
    border-radius: 50px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-gold);
    color: var(--color-navy);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.reviewer-info {
    flex: 1;
}

.reviewer-info h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
}

.review-time {
    color: var(--color-text-muted);
}

.google-icon {
    font-size: 1.5rem;
}

.review-body {
    color: var(--color-text-muted);
    font-style: italic;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform var(--transition-fast);
}
.gallery-img:hover {
    transform: scale(1.03);
}

/* Booking Section */
.booking-platforms {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.platform-card {
    background-color: white;
    padding: 2.5rem 1rem;
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--color-cream-dark);
    transition: all var(--transition-fast);
}

.platform-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--color-gold);
}

.platform-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-navy);
    margin-bottom: 1rem;
}

.platform-action {
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 500;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.2rem;
}

.faq-toggle {
    background: none;
    border: none;
    color: var(--color-gold);
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
    opacity: 0.8;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 1rem;
}

/* Social Section */
.social-section {
    text-align: center;
}

/* Footer */
.footer {
    padding-top: 6rem;
    padding-bottom: 2rem;
}

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

.contact-card {
    text-align: center;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: border-color var(--transition-fast);
}

.contact-card:hover {
    border-color: var(--color-gold);
}

.contact-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.contact-number {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-location {
    margin-bottom: 6rem;
}

.location-text {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.location-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer-bottom {
    margin-top: 4rem;
}

.footer-motto {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.copyright {
    font-size: 0.8rem;
    letter-spacing: 3px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title { font-size: 4rem; }
    .feature-title, .section-title { font-size: 2.5rem; }
    
    .offerings-grid {
        grid-template-columns: 1fr;
    }
    .border-right { border-right: none; border-bottom: 1px solid var(--color-cream-dark); }
    .offering-card:last-child { border-bottom: none; }
    
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .booking-platforms { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    
    .pool-feature, .luxurious-escape {
        flex-direction: column;
    }
    .luxurious-escape {
        flex-direction: column-reverse;
    }
    .feature-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .feature-title, .section-title { font-size: 2rem; }
    
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { text-align: center; }
    
    .rating-actions { flex-direction: column; }
    .location-actions { flex-direction: column; }
    
    .reviews-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .booking-platforms { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    
    .amenities-grid { grid-template-columns: 1fr; }
    
    .stats-section { flex-direction: column; }
}
