/* Global Styles */
:root {
    --primary-color: #00ccff;
    --secondary-color: #003366;
    --accent: #00ccff;
    --dark-gray: #333333;
    --text-color: #333;
    --light-text: #666;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header */
.header {
    width: 100%;
    height: 80px;
    border: none;
}

/* Hero Sections */
.hero, .destinations-hero, .cruise-lines-hero, .tips-hero, .about-hero, .contact-hero, .terms-hero {
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.hero::before, .destinations-hero::before, .cruise-lines-hero::before, 
.tips-hero::before, .about-hero::before, .contact-hero::before, .terms-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.hero-content, .destinations-hero h1, .cruise-lines-hero h1, 
.tips-hero h1, .about-hero h1, .contact-hero h1, .terms-hero h1 {
    position: relative;
    z-index: 2;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--light-text);
}

/* Grid Layouts */
.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cruise-lines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.tips-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Cards */
.destination-card, .cruise-line-card, .article-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.destination-card:hover, .cruise-line-card:hover, .article-card:hover {
    transform: translateY(-5px);
}

/* Images */
.destination-image, .article-image, .team-photo {
    height: 200px;
    background-size: cover;
    background-position: center;
}

/* Content Areas */
.destination-content, .cruise-line-content, .article-content {
    padding: 20px;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--secondary-color);
    margin: 0 0 15px 0;
}

p {
    color: var(--light-text);
    margin-bottom: 15px;
}

/* Lists */
.destination-features, .cruise-line-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.destination-features li, .cruise-line-features li {
    margin-bottom: 5px;
    padding-left: 25px;
    position: relative;
}

.destination-features li:before, .cruise-line-features li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Buttons */
.hero-button, .cruise-button, .submit-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.hero-button:hover, .cruise-button:hover, .submit-button:hover {
    background: #0099cc;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Contact Info */
.contact-method {
    margin-bottom: 30px;
}

.contact-method h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-method a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-method a:hover {
    color: #0099cc;
}

/* Office Hours */
.office-hours {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--light-text);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--primary-color);
}

/* About Page Specific */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.about-section {
    margin-bottom: 60px;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

.value-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
}

.value-icon {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

.team-member {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info .position {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stats-section {
    background: var(--background-light);
    padding: 60px 20px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 2.5em;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

/* Blog Page Specific */
.article-meta {
    color: var(--light-text);
    font-size: 0.9em;
    margin-bottom: 15px;
}

.article-tags {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.article-tag {
    background: var(--background-light);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    color: var(--light-text);
}

.sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-card {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.popular-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-posts li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.popular-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-posts a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.popular-posts a:hover {
    color: var(--primary-color);
}

.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 10px;
}

.categories-list a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
}

.categories-list a:hover {
    color: var(--primary-color);
}

.categories-list span {
    float: right;
    background: var(--background-light);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8em;
}

/* Cruise Lines Page Specific */
.cruise-lines-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/cruiselines-hero.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 40px;
}

.cruise-line-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.cruise-line-card:hover {
    transform: translateY(-5px);
}

.cruise-line-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.cruise-line-logo {
    max-height: 60px;
    width: auto;
    margin-bottom: 15px;
    object-fit: contain;
}

.cruise-line-content {
    padding: 20px;
}

.cruise-line-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.cruise-line-features li {
    padding: 8px 0 8px 25px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.cruise-line-features li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 8px;
}

.cruise-line-features li:last-child {
    border-bottom: none;
}

.ship-classes {
    margin-top: 20px;
}

.ship-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.ship-tag {
    background: #f5f5f5;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
}

/* About / Terms page hero */
.about-hero, .terms-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/cruiselines-hero.jpeg');
    background-size: cover;
    background-position: center;
    margin-bottom: 40px;
}

.about-hero p, .terms-hero p {
    color: rgba(255, 255, 255, 0.95);
    margin-top: 15px;
}

.about-hero h1, .terms-hero h1, .cruise-lines-hero h1 {
    color: var(--white);
}

.cruise-lines-hero p {
    color: var(--white);
    margin-top: 15px;
}

/* Page content (about, terms) */
.page-content {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.page-content h2 {
    color: var(--secondary-color);
    margin-top: 32px;
    margin-bottom: 12px;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content p {
    color: var(--light-text);
    margin-bottom: 16px;
}

.page-content ul {
    color: var(--light-text);
    margin-bottom: 16px;
    padding-left: 24px;
}

.contact-block {
    background: var(--background-light);
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
}

.contact-block h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-block .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-color);
}

.contact-block .contact-item:last-child {
    margin-bottom: 0;
}

.contact-block a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-block a:hover {
    text-decoration: underline;
}

/* Footer (for pages using cruise-lines.css only) - matches index.html */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 5% 30px;
}

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

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--white);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
    color: #bbb;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--accent);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .destination-grid, .cruise-lines-grid, .tips-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero, .destinations-hero, .cruise-lines-hero, 
    .tips-hero, .about-hero, .contact-hero, .terms-hero {
        padding: 60px 20px;
    }

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