/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #536b69;
    --secondary-color: #c5d7d7;
    --accent-tropical: #ff6b6b;
    --accent-tropical-2: #4ecdc4;
    --accent-tropical-3: #ffe66d;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f8f9fa 0%, var(--secondary-color) 100%);
    overflow-x: hidden;
}

/* Header Styles - Multi-level */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3d5351 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.6s ease;
}

.header-top {
    background: rgba(0,0,0,0.2);
    padding: 10px 0;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

.header-top a {
    color: var(--accent-tropical-3);
    text-decoration: none;
    margin: 0 10px;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-tropical-3);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: var(--transition);
}

/* Hero Section - Interactive Slider */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-bottom: 60px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-light);
    z-index: 2;
    background: rgba(83, 107, 105, 0.85);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: var(--text-light);
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 3;
    transition: var(--transition);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav:hover {
    background: rgba(255,255,255,0.4);
    transform: translateY(-50%) scale(1.1);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--accent-tropical-3);
    transform: scale(1.3);
}

/* Tiles Layout */
.tiles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.tile {
    background: var(--text-light);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.tile:hover::before {
    left: 100%;
}

.tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.tile-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    animation: bounce 2s infinite;
}

.tile h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8em;
}

.tile p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.tile-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    background: #ddd;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), #3d5351);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(83, 107, 105, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-tropical-2), #3bb5ad);
}

/* Sections */
.section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-tropical), var(--accent-tropical-2));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2em;
    margin-bottom: 50px;
}

/* Blog Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: var(--text-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.blog-card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: #ddd;
}

.blog-card-content {
    padding: 25px;
}

.blog-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5em;
}

.blog-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Footer - Multi-column informational */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3d5351 100%);
    color: var(--text-light);
    padding: 60px 5% 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3em;
    color: var(--accent-tropical-3);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-section a:hover {
    color: var(--accent-tropical-3);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    max-width: 1400px;
    margin: 0 auto;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(83, 107, 105, 0.98);
    color: var(--text-light);
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    display: none;
    animation: slideUp 0.5s ease;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text a {
    color: var(--accent-tropical-3);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

/* Contact Form */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--text-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(83, 107, 105, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Success Page */
.success-container {
    text-align: center;
    padding: 100px 5%;
    max-width: 800px;
    margin: 0 auto;
}

.success-icon {
    font-size: 80px;
    color: var(--accent-tropical-2);
    margin-bottom: 30px;
    animation: scaleIn 0.5s ease;
}

.success-container h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.5em;
}

.success-container p {
    color: #666;
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero {
        height: 400px;
    }

    .hero-content {
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
        padding: 10px;
    }

    .tiles-container {
        grid-template-columns: 1fr;
        padding: 40px 3%;
    }

    .section {
        padding: 50px 3%;
    }

    .section-title {
        font-size: 2em;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 350px;
    }

    .hero-content h1 {
        font-size: 1.5em;
    }

    .tiles-container {
        gap: 20px;
    }

    .tile {
        padding: 20px;
    }

    .section-title {
        font-size: 1.8em;
    }
}

@media (max-width: 320px) {
    .header-main {
        padding: 15px 3%;
    }

    .logo {
        font-size: 18px;
    }

    .hero {
        height: 300px;
    }

    .hero-content {
        padding: 15px;
    }

    .hero-content h1 {
        font-size: 1.3em;
    }

    .hero-content p {
        font-size: 0.9em;
    }

    .hero-nav {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .tiles-container {
        padding: 30px 2%;
    }

    .tile {
        padding: 15px;
    }

    .section {
        padding: 40px 2%;
    }

    .section-title {
        font-size: 1.5em;
    }

    .contact-form {
        padding: 20px;
    }

    .cookie-content {
        padding: 15px;
    }

    .cookie-text {
        font-size: 14px;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

