:root {
    --primary-color: #007bff;
    --primary-hover: #0056b3;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 24px rgba(0,0,0,0.12);
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
.top-header {
    background-color: var(--bg-white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    border-radius: 50%;
}

.logo-text h1 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-text span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    font-weight: 500;
}

.currency-selector button, .language-selector button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.currency-selector button i {
    color: var(--text-light);
}

.divider {
    width: 1px;
    height: 20px;
    background-color: var(--border-color);
}

.my-reservations {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.my-reservations:hover {
    color: var(--primary-hover);
}

.cart-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

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

/* Nav */
.main-nav {
    background-color: var(--bg-white);
    padding: 15px 0;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition);
}

.main-nav a.active {
    color: var(--text-dark);
    font-weight: 600;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: calc(100vh - 80px);
    min-height: 600px;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -3;
}

.hero-bg-1 {
    background-image: url('images/praia_dos_carneiros_bg.jpg');
    animation: slowZoom 20s infinite alternate;
}

.hero-bg-2 {
    background-image: url('images/ilha_santo_aleixo.jpg');
    z-index: -2;
    animation: fadeInOutZoom 20s infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

@keyframes fadeInOutZoom {
    0%, 35% { opacity: 0; transform: scale(1.15); }
    65%, 100% { opacity: 1; transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    backdrop-filter: blur(2px);
    z-index: -1;
}

.magic-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    animation: rotateMagic 30s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes rotateMagic {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--bg-white);
    margin-bottom: 50px;
    padding: 0 20px;
}

.hero-title {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    opacity: 0.9;
}

/* Search Section */
.search-section {
    position: relative;
    z-index: 2;
    padding: 0;
    background: transparent;
    transform: translateY(30px);
}

.search-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-pill);
    padding: 10px 10px 10px 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    gap: 15px;
}

.search-input, .destination-input {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.icon-blue {
    color: var(--primary-color);
    font-size: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.input-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.input-group input, .input-group select {
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    width: 100%;
    background: transparent;
    cursor: pointer;
}

.divider-vertical {
    width: 1px;
    height: 40px;
    background-color: var(--border-color);
}

.btn-location {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 18px;
    cursor: pointer;
    padding: 0 10px;
    transition: var(--transition);
}

.btn-location:hover {
    color: var(--primary-color);
}

.btn-search {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: var(--radius-pill);
    padding: 12px 30px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-search:hover {
    background-color: var(--primary-hover);
    box-shadow: var(--shadow-md);
}

/* Features */
.features {
    padding: 20px 0 40px;
}

.features-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
}

.feature-text h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.4;
}

/* Activities */
.activities {
    padding: 20px 0 60px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.activity-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    z-index: 1;
}

.next-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: var(--bg-white);
    padding: 6px 12px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    z-index: 1;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.date-label {
    font-size: 10px;
    color: var(--primary-color);
    font-weight: 700;
}

.date-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
}

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

.card-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.card-features {
    margin-bottom: 20px;
    flex: 1;
}

.card-features li {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.card-features li i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

.card-price {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.price-label {
    font-size: 12px;
    color: var(--text-light);
}

.price-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .activity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-bar {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: 15px;
    }

    .divider-vertical {
        width: 100%;
        height: 1px;
    }

    .features-container {
        flex-direction: column;
    }

    .activity-grid {
        grid-template-columns: 1fr;
    }
}
