/* ===================================
   Caribbean Getaway - Professional Styles
   =================================== */

/* CSS Variables */
:root {
    --primary-blue: #0077be;
    --tropical-teal: #20b2aa;
    --sunset-orange: #ff6b35;
    --sand-beige: #f4e4bc;
    --deep-blue: #003366;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-dark: #333333;
    --text-medium: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 10px 40px rgba(0,0,0,0.15);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--primary-blue), var(--tropical-teal));
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    background: var(--deep-blue);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo a img.logo-combined {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

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

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

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

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    font-size: 2rem;
    margin-top: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--sunset-orange);
    color: var(--white);
}

.btn-primary:hover {
    background: #ff5520;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-block {
    width: 100%;
}

/* Section Styling */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-medium);
}

.text-center {
    text-align: center;
    margin-top: 2rem;
}

/* Featured Destinations */
.featured-destinations {
    background: var(--light-gray);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.destination-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 350px;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.destination-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

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

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

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2rem;
    color: var(--white);
}

.destination-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* Search Widget */
.search-widget {
    background: linear-gradient(135deg, var(--primary-blue), var(--tropical-teal));
    color: var(--white);
}

.widget-content {
    text-align: center;
}

.widget-content h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.affiliate-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.affiliate-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.affiliate-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.affiliate-card h3 {
    color: var(--deep-blue);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.affiliate-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.affiliate-note {
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Hot Deals */
.hot-deals {
    background: var(--white);
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.deal-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.deal-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.deal-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--sunset-orange);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.deal-image {
    height: 220px;
    background: linear-gradient(45deg, var(--tropical-teal), var(--primary-blue));
}

.deal-content {
    padding: 1.5rem;
}

.deal-content h3 {
    font-size: 1.4rem;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.deal-content p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    min-height: 3rem;
}

.deal-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.current-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--sunset-orange);
}

.original-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

/* Events Preview */
.events-preview {
    background: var(--light-gray);
}

.events-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.event-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    gap: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.event-date {
    background: var(--sunset-orange);
    color: var(--white);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
    height: fit-content;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

.event-info h3 {
    color: var(--deep-blue);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.event-location {
    color: var(--tropical-teal);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-info p:last-child {
    color: var(--text-medium);
}

/* Ad Section */
.ad-section {
    background: var(--light-gray);
    padding: 3rem 0;
}

.ad-placeholder {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border: 2px dashed var(--border-color);
}

.ad-content {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--deep-blue), var(--primary-blue));
    color: var(--white);
    text-align: center;
}

.newsletter h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 300px;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
}

.newsletter-privacy {
    color: rgba(255,255,255,0.8);
}

/* Contact Section */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--tropical-teal);
    box-shadow: 0 0 10px rgba(32, 178, 170, 0.2);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
footer {
    background: var(--deep-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    color: var(--tropical-teal);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-col p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a:hover {
    color: var(--tropical-teal);
}

.social-links {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

/* Island Page Specific Styles */
.island-hero {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 70px;
}

.island-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.island-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.island-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.island-card-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--tropical-teal));
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.island-card-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.island-flag {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.island-card-body {
    padding: 1.5rem;
}

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

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

.meta-label {
    font-size: 0.85rem;
    color: var(--text-medium);
    display: block;
}

.meta-value {
    font-weight: 600;
    color: var(--deep-blue);
}

.island-highlights {
    margin: 1rem 0;
}

.island-highlights h4 {
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.highlights-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.highlight-tag {
    background: var(--light-gray);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.island-description {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Individual Island Detail Page */
.island-detail {
    padding-top: 70px;
}

.island-content {
    max-width: 900px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-box {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.info-box h4 {
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.attractions-list {
    list-style: none;
    padding: 0;
}

.attractions-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.attractions-list li:before {
    content: '✓ ';
    color: var(--tropical-teal);
    font-weight: bold;
    margin-right: 0.5rem;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .destinations-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--deep-blue);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        align-items: flex-start;
    }

    .nav-links.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .deals-grid,
    .destinations-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        min-width: auto;
    }

    .affiliate-widgets {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    section {
        padding: 3rem 0;
    }

    .event-card {
        flex-direction: column;
    }

    .current-price {
        font-size: 1.5rem;
    }
}
