@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Poppins:wght@400;600;700&display=swap');

:root {
    --bg-main: #FFDF00; /* Vibrant Premium Yellow */
    --accent-primary: #D32F2F; /* Glossy Red Base */
    --accent-primary-hover: #B71C1C;
    --accent-secondary: #FFFFFF; /* Glossy White Base */
    --card-bg: #FFFFFF;
    --border-glass: rgba(0, 0, 0, 0.1);
    --text-primary: #1A1A1A;
    --text-secondary: #555555;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Premium Glossy Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(180deg, #ff4d4d 0%, #e60000 50%, #cc0000 100%);
    color: #ffffff;
    border: 1px solid #b30000;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 4px 15px rgba(230, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #ff6666 0%, #ff1a1a 50%, #e60000 100%);
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 8px 25px rgba(225, 29, 72, 0.5);
    color: #ffffff;
}

.btn-secondary {
    background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 50%, #e6e6e6 100%);
    color: var(--accent-primary);
    border: 1px solid #cccccc;
    box-shadow: inset 0 1px 0 #ffffff, 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 50%, #f0f0f0 100%);
    border-color: var(--accent-primary);
    color: var(--accent-primary-hover);
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 #ffffff, 0 8px 25px rgba(211, 47, 47, 0.2);
}

.btn-gold {
    background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 50%, #e6e6e6 100%);
    color: var(--accent-primary);
    border: 1px solid #cccccc;
    box-shadow: inset 0 1px 0 #ffffff, 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-gold:hover {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 50%, #f0f0f0 100%);
    color: var(--accent-primary-hover);
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 #ffffff, 0 8px 25px rgba(211, 47, 47, 0.2);
    border-color: var(--accent-primary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--accent-primary);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url('images/luxury-spanish-wedding-setup.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease forwards;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(180deg, #ff4d4d 0%, #e60000 100%);
    color: #ffffff;
    border: 1px solid #b30000;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.25rem;
    color: #f0f0f0;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header h2 span {
    color: var(--accent-primary);
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards System */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1), inset 0 1px 0 #ffffff;
    border-color: var(--accent-primary);
}

.card-img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #eaeaea;
}

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

.card:hover .card-img-wrap img {
    transform: scale(1.08);
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(180deg, #ff4d4d 0%, #e60000 50%, #cc0000 100%);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    border: 1px solid #b30000;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 4px 10px rgba(0,0,0,0.2);
}

.card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.card-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-location i {
    color: var(--accent-primary);
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-glass);
}

.card-price {
    font-weight: 700;
    color: var(--accent-primary);
    font-size: 1.1rem;
}

.card-price span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Hotel Details Page */
.detail-hero {
    height: 60vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
}

.detail-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.5);
}

.detail-hero h1 {
    color: #ffffff;
}

.detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.detail-main {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08), inset 0 1px 0 #ffffff;
}

.detail-sidebar {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08), inset 0 1px 0 #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.feature-item i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.gallery img {
    border-radius: 8px;
    height: 150px;
    width: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    border-color: var(--accent-primary);
}

/* Forms */
.contact-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08), inset 0 1px 0 #ffffff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02), 0 0 8px rgba(211, 47, 47, 0.3);
}

/* Legal & Standard Pages */
.page-header {
    padding: 160px 0 60px;
    text-align: center;
    background: linear-gradient(to bottom, #FFD700, var(--bg-main));
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.prose {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.prose h2, .prose h3 {
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 16px;
}

.prose p {
    margin-bottom: 20px;
}

.prose ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%);
    border-top: 1px solid #e0e0e0;
    padding: 80px 0 30px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 300px;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations & Utilities */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #ffffff;
    border: 2px solid var(--accent-primary);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    z-index: 2000;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2), 0 0 30px rgba(211, 47, 47, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.success-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .detail-content {
        grid-template-columns: 1fr;
    }
    .detail-sidebar {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-content h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 24px;
        border-bottom: 1px solid #e0e0e0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-btns { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .detail-content {
        margin-top: -30px;
    }
    .detail-main {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-card {
        padding: 20px;
    }
}