:root {
    /* Modern ocean-inspired color palette */
    --primary-color: #0891b2;        /* Turquoise/Cyan - matches beach vibes */
    --primary-dark: #0e7490;         /* Darker turquoise for hover states */
    --primary-light: #06b6d4;        /* Lighter cyan for accents */
    --accent-color: #f97316;         /* Warm orange for CTAs */
    --bg-light: #f8fafc;             /* Soft off-white */
    --bg-white: #ffffff;
    --text-dark: #1e293b;            /* Rich dark slate */
    --text-medium: #475569;          /* Medium slate */
    --text-light: #94a3b8;           /* Light slate */
    --border-color: #e2e8f0;         /* Subtle border */
    
    /* Typography */
    --font-body: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-heading: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    
    /* Spacing */
    --container-max: 1200px;
    --border-radius: 12px;
    --transition: 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

/* Header */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container-header {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand */
.navbar-brand {
    flex-shrink: 0;
}

.navbar-brand a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: color var(--transition);
    white-space: nowrap;
}

.navbar-brand a:hover {
    color: var(--primary-dark);
}

/* Navigation Container */
.header .navbar {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Desktop Navigation */
.header .navbar-collapse {
    display: flex;
    align-items: center;
}

.header .navbar-nav {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-direction: row;
}

.header .navbar-nav li {
    margin: 0;
}

.header .navbar-nav a {
    color: var(--text-medium);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all var(--transition);
    display: block;
}

.header .navbar-nav a:hover {
    color: var(--primary-color);
    background-color: rgba(8, 145, 178, 0.08);
}

.header .navbar-nav a.active {
    color: var(--primary-color);
    background-color: rgba(8, 145, 178, 0.12);
}

/* Login Button */
.container-search {
    flex-shrink: 0;
}

.container-search a {
    color: var(--bg-white);
    background-color: var(--primary-color);
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all var(--transition);
    display: inline-block;
    white-space: nowrap;
}

.container-search a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(8, 145, 178, 0.2);
}

/* Mobile Toggle - Hidden by default */
.navbar-toggler {
    display: none;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all var(--transition);
}

.navbar-toggler:hover {
    border-color: var(--primary-color);
    background-color: rgba(8, 145, 178, 0.05);
}

.navbar-toggler .icon-menu {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--text-medium);
    position: relative;
}

.navbar-toggler .icon-menu::before,
.navbar-toggler .icon-menu::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: var(--text-medium);
    left: 0;
}

.navbar-toggler .icon-menu::before {
    top: -6px;
}

.navbar-toggler .icon-menu::after {
    bottom: -6px;
}

/* Main Content */
.site-grid {
    max-width: var(--container-max);
    margin: 2rem auto;
    padding: 0 1.5rem;
    min-height: calc(100vh - 200px);
}

.container-component {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.item-title {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
}

.item-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.item-content p {
    margin-bottom: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.item-content strong {
    font-weight: 600;
    color: var(--text-dark);
}

.item-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}

.item-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 2.5rem 0;
    margin-top: 4rem;
}

.container-footer {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.container-footer p {
    margin: 0;
    opacity: 0.9;
}

/* Mobile Responsive - Tablets and below */
@media (max-width: 768px) {
    /* Show hamburger, hide desktop nav */
    .navbar-toggler {
        display: flex;
    }
    
    .header .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    }
    
    .header .navbar-collapse {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 1rem;
    }
    
    .header .navbar-collapse.show {
        display: flex;
    }
    
    .header .navbar-nav {
        flex-direction: column;
        width: 100%;
        gap: 0.25rem;
    }
    
    .header .navbar-nav li {
        width: 100%;
    }
    
    .header .navbar-nav a {
        width: 100%;
        padding: 0.75rem 1rem;
    }
    
    .container-search {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .container-search a {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .container-component {
        padding: 1.5rem;
    }
    
    .item-title {
        font-size: 1.5rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .navbar-brand a {
        font-size: 1.25rem;
    }
    
    .container-component {
        padding: 1rem;
    }
    
    .site-grid {
        margin: 1.5rem auto;
        padding: 0 1rem;
    }
}
