/* ========================================
   GLOBAL STYLES & VARIABLES
   ======================================== 
*/
:root {
    --primary-dark: #1a1a1a;
    --accent-blue: #0066CC;
    --accent-red: #e74c3c;
    --light-gray: #f4f4f4;
    --text-color: #333;
    --border-color: #eee;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    background-color: #fff;
}

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

/* ========================================
   NAVIGATION BARS (Primary & Category)
   ======================================== 
/* --- Header Wrapper --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* --- Primary Navbar (Logo & Main Links) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    border-bottom: 1px solid #eee;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    color: #1a1a1a;
}

.main-links a {
    margin-left: 25px;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    transition: color 0.3s;
}

.main-links a:hover {
    color: #0066CC;
}

/* --- Category Sub-Menu --- */
.category-menu {
    background: #fdfdfd;
    padding: 10px 0;
    text-align: center;
}

.category-menu .container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.category-menu a {
    text-decoration: none;
    color: #777;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.category-menu a:hover {
    color: #0066CC;
    border-bottom: 2px solid #0066CC;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar { flex-direction: column; padding: 15px; }
    .main-links { margin-top: 10px; }
    .category-menu .container { gap: 10px; }
}

/* ========================================
   HERO & WELCOME SECTIONS
   ======================================== 
*/
.welcome-section {
    padding: 60px 0;
    text-align: center;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 800px;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========================================
   CATEGORIES GRID (Home Page)
   ======================================== 
*/
.categories-grid {
    padding: 60px 0;
    background: var(--light-gray);
    text-align: center;
}

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

.cat-card {
    background: #fff;
    padding: 30px 10px;
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed);
}

.cat-card:hover {
    background: var(--accent-blue);
    color: #fff;
    transform: translateY(-5px);
}

/* ========================================
   GALLERY / PORTFOLIO GRID
   ======================================== 
*/
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.design-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.design-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.design-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-red);
    color: white;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
}

/* ========================================
   ABOUT PAGE
   ======================================== 
*/
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
    padding: 80px 0;
}

.profile-gif {
    width: 100%;
    max-width: 250px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ========================================
   BUTTONS & FOOTER
   ======================================== 
*/
.cta-button {
    background: var(--primary-dark);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    font-weight: 700;
    margin-top: 20px;
}

footer {
    padding: 50px;
    text-align: center;
    background: var(--primary-dark);
    color: #fff;
    font-size: 0.8rem;
    margin-top: 60px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== 
*/
@media (max-width: 768px) {
    .navbar { flex-direction: column; padding: 20px; }
    .navbar nav { margin-top: 15px; }
    .category-bar a { display: inline-block; margin: 5px 10px; }
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .profile-gif { margin: 0 auto; }
}