* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

/* Header */
.site-header {
    background: #2c3e50;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

.site-logo .logo-text {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.3s;
}

.site-logo .logo-text:hover {
    opacity: 0.8;
}

/* Navigation Menu */
.main-navigation {
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 12px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 4px;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
    white-space: nowrap;
}

.nav-link:hover,
.nav-item.active > .nav-link {
    background: #2c3e50;
}

.nav-parent {
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s;
}

.nav-item.has-children:hover > .nav-link .dropdown-arrow,
.nav-item.has-children.active > .nav-link .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #2c3e50;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    z-index: 1000;
}

.nav-item:hover > .nav-submenu,
.nav-item.active > .nav-submenu {
    display: block;
}

.nav-submenu .nav-link {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-submenu .nav-link:hover {
    background: #1a252f;
}

.nav-submenu .nav-submenu {
    top: 0;
    left: 100%;
    margin-left: 5px;
}

.nav-submenu.level-3 {
    left: 100%;
    top: 0;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: nowrap;
        align-items: center;
    }
    
    .site-logo {
        flex: 0 0 auto;
        min-width: 0;
    }
    
    .site-logo img {
        max-height: 40px;
    }
    
    .site-logo .logo-text {
        font-size: 18px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .mobile-menu-toggle {
        display: block;
        flex-shrink: 0;
        margin-left: 10px;
    }
    
    .main-navigation {
        flex: 0 0 auto;
        margin-top: 0;
        margin-left: auto;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        flex-direction: column;
        width: 280px;
        max-width: calc(100vw - 20px);
        background: #34495e;
        border-radius: 5px;
        margin-top: 10px;
        padding: 10px 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.2);
        z-index: 1001;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-link {
        padding: 15px 20px;
    }
    
    .nav-submenu {
        position: static;
        display: none;
        background: #1a252f;
        box-shadow: none;
        width: 100%;
        border-radius: 0;
    }
    
    .nav-item.has-children.active > .nav-submenu,
    .nav-item.has-children.mobile-open > .nav-submenu {
        display: block;
    }
    
    .nav-submenu .nav-link {
        padding-left: 40px;
    }
    
    .nav-submenu.level-3 .nav-link {
        padding-left: 60px;
    }
    
    .dropdown-arrow {
        float: right;
    }
}

/* Logo */
.site-logo {
    text-align: center;
    padding: 20px 0;
}

.site-logo img {
    max-width: 200px;
    height: auto;
}

/* Contact Info Block */
.contact-info-block {
    background: #f8f9fa;
    padding: 30px 0;
    border-bottom: 1px solid #dee2e6;
}

/* Hero/Banner */
.hero-banner {
    background: linear-gradient(
        135deg,
        #5BCEFA 0%,
        #5BCEFA 20%,
        #F5A9B8 20%,
        #F5A9B8 40%,
        #FFFFFF 40%,
        #FFFFFF 60%,
        #F5A9B8 60%,
        #F5A9B8 80%,
        #5BCEFA 80%,
        #5BCEFA 100%
    );
    background-size: 200% 200%;
    color: #2c3e50;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: heroBackgroundMove 20s ease-in-out infinite;
}

@keyframes heroBackgroundMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(255,255,255,0.5);
    color: #2c3e50;
}

.hero-banner p {
    font-size: 20px;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(255,255,255,0.5);
    color: #2c3e50;
}

/* Main Content */
.main-content {
    padding: 60px 0;
    min-height: 400px;
}

.main-content h1,
.main-content h2,
.main-content h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.main-content p {
    margin-bottom: 15px;
}

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

/* Right Column */
.right-column {
    background: #f8f9fa;
    padding: 40px 0;
    border-top: 1px solid #dee2e6;
}

/* Portfolio Section */
.portfolio-section {
    padding: 60px 0;
    background: #fff;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 40px;
}

.portfolio-category {
    margin-bottom: 60px;
}

.portfolio-category h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 32px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.portfolio-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.portfolio-item-description {
    padding: 20px;
    color: #555;
}

.portfolio-item-description h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}

.site-footer a {
    color: #ecf0f1;
    text-decoration: none;
}

.site-footer a:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive Grid System (6-column grid) */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

[class*="col"] {
    padding: 0 15px;
    box-sizing: border-box;
}

/* 6-column grid system */
.col1 { flex: 0 0 16.666%; max-width: 16.666%; }  /* 1/6 */
.col2 { flex: 0 0 33.333%; max-width: 33.333%; }   /* 2/6 = 1/3 - allows 3 blocks */
.col3 { flex: 0 0 50%; max-width: 50%; }            /* 3/6 = 1/2 - allows 2 blocks */
.col4 { flex: 0 0 66.666%; max-width: 66.666%; }   /* 4/6 = 2/3 */
.col5 { flex: 0 0 83.333%; max-width: 83.333%; }  /* 5/6 */
.col6 { flex: 0 0 100%; max-width: 100%; }         /* 6/6 = full width */

/* Responsive - stack on mobile */
@media (max-width: 768px) {
    .row {
        margin: 0;
        flex-direction: column;
    }
    
    [class*="col"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0;
        margin-bottom: 20px;
    }
    
    [class*="col"]:last-child {
        margin-bottom: 0;
    }
    
    .hero-banner {
        animation-duration: 15s;
    }
    
    .hero-banner h1 {
        font-size: 32px;
    }
    
    .hero-banner p {
        font-size: 16px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .main-content,
    .portfolio-section {
        padding: 40px 0;
    }
}

