/* ===========================
   VARIABLES & RESET
   =========================== */
:root {
    --primary-gold: #E6B85C;
    --dark-navy: #2C3E50;
    --accent-blue: #3498DB;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
    --text-dark: #2C3E50;
    --shadow: rgba(0, 0, 0, 0.1);
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    overflow: hidden;
}

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

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(230, 184, 92, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(52, 152, 219, 0.3) 0%, transparent 50%);
    animation: overlayPulse 10s ease infinite;
}

@keyframes overlayPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease;
    flex-wrap: wrap;
}

.logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: logoFloat 6s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero h1 {
    font-family: 'Source Code Pro', 'Courier New', Courier, monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: #33ff33;
    margin: 0;
    max-width: 650px;
    text-align: left;
    position: relative;
    text-shadow: 0 0 10px rgba(51, 255, 51, 0.8),
                 0 0 20px rgba(51, 255, 51, 0.5),
                 0 0 30px rgba(51, 255, 51, 0.3),
                 2px 2px 0px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.05em;
    line-height: 1.3;
    background: rgba(0, 0, 0, 0.75);
    padding: 30px 35px;
    border-radius: 8px;
    border: 2px solid #33ff33;
    box-shadow: 0 0 20px rgba(51, 255, 51, 0.3),
                inset 0 0 20px rgba(51, 255, 51, 0.1);
}

.hero h1::before {
    content: '> ';
    color: #33ff33;
    animation: promptBlink 1s infinite;
}

@keyframes promptBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.3; }
}

.hero h1 .terminal-cursor {
    display: inline-block;
    width: 12px;
    height: 1.1em;
    background: #33ff33;
    margin-left: 4px;
    animation: cursorBlink 1s infinite;
    vertical-align: text-bottom;
    box-shadow: 0 0 10px rgba(51, 255, 51, 0.8);
}

@keyframes cursorBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 40px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.2s ease;
}

.services-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.4s ease;
}

.service-block {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(20px);
    padding: 45px 35px;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.service-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230, 184, 92, 0.2) 0%, rgba(52, 152, 219, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-block:hover::before {
    opacity: 1;
}

.service-block:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.15) 100%);
}

.service-block > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.service-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
}

.service-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), rgba(230, 184, 92, 0.3));
    margin: 15px auto 0;
    border-radius: 2px;
}

.service-description {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 35px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
    line-height: 1.7;
    flex-grow: 1;
    font-weight: 400;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   SHINY CTA BUTTON
   =========================== */
.cta-button {
    display: inline-block;
    padding: 16px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-gold) 0%, #d4a04c 100%);
    border: 3px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(230, 184, 92, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.6),
                inset 0 -2px 0 rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1.4s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shineEffect 3s infinite;
}

@keyframes shineEffect {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 35px rgba(230, 184, 92, 0.7),
                inset 0 1px 0 rgba(255, 255, 255, 0.8),
                inset 0 -2px 0 rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.9);
}

.cta-button:active {
    transform: translateY(0) scale(1.02);
}

/* ===========================
   SERVICES OVERVIEW
   =========================== */
.services-overview {
    padding: 100px 20px;
    background: var(--white);
}

.services-overview h2,
.portfolio h2,
.services-detailed h2,
.contact h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark-navy);
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 60px;
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 20px var(--shadow);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-navy);
}

.service-card p {
    color: #7f8c8d;
    line-height: 1.8;
}

/* ===========================
   PORTFOLIO SECTION
   =========================== */
.portfolio {
    padding: 100px 20px;
    background: var(--light-gray);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(44, 62, 80, 0.95), transparent);
    color: var(--white);
    padding: 30px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===========================
   DETAILED SERVICES (ACCORDION)
   =========================== */
.services-detailed {
    padding: 100px 20px;
    background: var(--white);
}

.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
}
.accordion-item span {
    text-align: left;
}

.accordion-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.accordion-header {
    width: 100%;
    padding: 25px 30px;
    background: linear-gradient(135deg, var(--dark-navy) 0%, #34495e 100%);
    color: var(--white);
    border: none;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.accordion-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 184, 92, 0.3), transparent);
    transition: left 0.5s ease;
}

.accordion-header:hover::before {
    left: 100%;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background: var(--white);
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding: 30px;
}

.accordion-content ul {
    list-style: none;
    padding: 0;
}

.accordion-content li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-dark);
    line-height: 1.8;
}

.accordion-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact {
    padding: 100px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.contact h2 {
    color: var(--white);
}

.contact .section-intro {
    color: rgba(255, 255, 255, 0.9);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--white);
    display: block;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-card p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.location-info {
    text-align: center;
    margin-top: 60px;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===========================
   IT ASSISTANCE CTA
   =========================== */
.it-cta {
    padding: 100px 20px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: var(--white);
    text-align: center;
}

.it-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.it-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.it-cta p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
}

/* ===========================
   FOOTER
   =========================== */
footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

footer p {
    margin: 10px 0;
    opacity: 0.8;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--primary-gold);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 768px) {
    .hero-header {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 40px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        text-align: left;
        max-width: 100%;
        letter-spacing: 0.03em;
        padding: 25px 25px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .logo {
        max-width: 220px;
    }
    
    .services-blocks {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-block {
        padding: 40px 30px;
        min-height: 280px;
    }
    
    .service-title {
        font-size: 1.6rem;
    }
    
    .service-description {
        font-size: 1.05rem;
    }
    
    .cta-button {
        padding: 14px 35px;
        font-size: 0.9rem;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .services-overview h2,
    .portfolio h2,
    .services-detailed h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .accordion-header {
        font-size: 1.1rem;
        padding: 20px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .it-cta h2 {
        font-size: 2rem;
    }
    
    .it-cta p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-header {
        margin-bottom: 30px;
    }
    
    .hero h1 {
        font-size: 1.1rem;
        letter-spacing: 0.02em;
        padding: 20px 20px;
    }
    
    .hero h1 .terminal-cursor {
        width: 8px;
        height: 1em;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 0.85rem;
    }
    
    .logo {
        max-width: 180px;
    }
    
    .service-block {
        padding: 35px 25px;
        min-height: 260px;
    }
    
    .service-title {
        font-size: 1.4rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
    
    .services-overview,
    .portfolio,
    .services-detailed,
    .contact,
    .it-cta {
        padding: 60px 20px;
    }
    
    .it-cta h2 {
        font-size: 1.6rem;
    }
    
    .it-cta p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
}
