/* CSS Variables */
:root {
    --primary-color: #244784;
    --secondary-color: #0b1a33;
    --accent-color: #25D366;
    --background-color: #ffffff;
    --text-color: #1d1d1f;
    --subtle-text-color: #86868b;
    --card-background: #f8f9fa;
    --border-color: #e5e5e7;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(36, 71, 132, 0.9) 0%, rgba(11, 26, 51, 0.9) 100%);
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Fixed Header */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.fixed-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}


.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-color);
}

.logo {
    height: 35px;
    width: auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
}

.shop-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.shop-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(36, 71, 132, 0.3);
}

/* Hero Section */
.hero-section {
    height: 60vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(36, 71, 132, 0.8), rgba(11, 26, 51, 0.8)), url('../assets/images/background/blue-background-white-mt-logo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Services Overview */
.services-overview {
    padding: 5rem 0;
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('../assets/images/background/white-background-blue-mt-logo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.services-overview .content-card {
    text-align: center;
}

.services-overview h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.discover-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.discover-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(36, 71, 132, 0.4);
}

/* Detailed Services */
.detailed-services {
    padding: 5rem 0;
    background: linear-gradient(rgba(36, 71, 132, 0.05), rgba(36, 71, 132, 0.05)), url('../assets/images/background/blue-background-blue-mt-logo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-category {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-category h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-category ul {
    list-style: none;
}

.service-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 1.5rem;
}

.service-category li:last-child {
    border-bottom: none;
}

.service-category li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('../assets/images/background/white-background-white-mt-logo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.2rem;
    color: var(--subtle-text-color);
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-link.whatsapp:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.contact-link.email:hover {
    border-color: #ea4335;
    color: #ea4335;
}

.contact-link.linkedin:hover {
    border-color: #0077b5;
    color: #0077b5;
}

.contact-link.github:hover {
    border-color: #333;
    color: #333;
}

.contact-link.instagram:hover {
    border-color: #e4405f;
    color: #e4405f;
}

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

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* Portfolio Section */
.portfolio-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(36, 71, 132, 0.05), rgba(36, 71, 132, 0.05)), url('../assets/images/background/blue-background-white-mt-logo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.portfolio-section .content-card {
    text-align: center;
}

.portfolio-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.portfolio-intro {
    font-size: 1.1rem;
    color: var(--subtle-text-color);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.image-carousel {
    max-width: 800px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 400px;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('../assets/images/background/white-background-blue-mt-logo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-section .content-card {
    text-align: center;
}

.about-content {
    max-width: none;
    margin: 0;
}

.about-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.founder-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.founder-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.founder-text h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.founder-title {
    color: var(--subtle-text-color);
    font-size: 0.9rem;
}

.about-description,
.about-philosophy {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.cta-button {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    margin-top: 1rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(36, 71, 132, 0.4);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2234 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo .logo {
    height: 30px;
    filter: brightness(0) invert(1);
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

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

.footer-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.site-actions-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.site-actions-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.site-actions-mobile {
    display: none;
}

.site-action-icon-btn {
    background: none;
    border: none;
    color: var(--light-text-color);
    cursor: pointer;
    font-size: 1.2rem;
    margin: 0 5px;
    padding: 5px;
}

.site-action-icon-btn:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-note {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Extra Footer Sites */
.footer-extra-sites {
    margin: 2rem 0 0 0;
    text-align: center;
}

.footer-extra-title {
    font-weight: 600;
    color: white;
    display: block;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.footer-extra-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 0;
}

.footer-extra-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.footer-extra-links a i {
    font-size: 1.3em;
    color: white;
    transition: color 0.2s;
}

.footer-extra-links a:hover {
    background: var(--cad-hover, #e6f0fa);
    color: black;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.footer-extra-links a:hover i {
    color: var(--accent-color, #ff6b35);
}

@media (max-width: 600px) {
    .footer-extra-links {
        gap: 0.75rem;
        flex-direction: column;
        align-items: stretch;
    }
    .footer-extra-links a {
        justify-content: center;
        font-size: 0.98rem;
        padding: 0.4rem 0.5rem;
    }
}

/* Content Cards for Text Readability */
.content-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto;
    max-width: 1000px;
}

/* Dark theme adjustments for content cards */
@media (prefers-color-scheme: dark) {
    .content-card {
        background: rgba(28, 28, 30, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .fixed-header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-center {
        order: 1;
    }
    
    .header-right {
        order: 2;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-links {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .founder-info {
        flex-direction: column;
        text-align: center;
    }
    
    .content-card {
        padding: 2rem;
        margin: 0 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }

    .footer-social-icons {
        margin-bottom: 15px;
    }

    #site-actions-desktop-btn {
        display: none;
    }

    .site-actions-mobile {
        display: flex;
    }

    .footer-extra-sites {
        justify-content: center;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    
    .services-overview h2,
    .about-section h2,
    .portfolio-section h2,
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: black;
    font-weight: 500;
}