/* Modern CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Properties */
:root {
    --primary-color: #ff6b00;
    --secondary-color: #ff8533;
    --text-color: #ffffff;
    --dark-bg: #121212;
    --card-bg: #1e1e1e;
    --navbar-bg: rgba(18, 18, 18, 0.95);
    --gradient-start: #1a1a1a;
    --gradient-end: #2d2d2d;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-bg);
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(26,26,26,0.7) 0%, rgba(45,45,45,0.7) 100%), url('assets/bg.jpg') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color);
    padding: 0 1rem;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

/* Services Section */
.services {
    padding: 5rem 5%;
    background: var(--dark-bg);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.services h2 span {
    color: var(--primary-color);
}

.service-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.service-link:focus {
    outline: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-link > .service-card {
    height: 100%;
}

.service-card {
    background: var(--card-bg);
    padding: 4rem 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.25);
    min-height: 500px;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    padding-left: 1.5rem;
    padding-bottom: 1.5rem;
}

.service-card h3,
.service-card p {
    position: relative;
    z-index: 2;
}

.service-card.text-overlay h3,
.service-card.text-overlay p {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    backdrop-filter: blur(5px);
    margin: 0.5rem 0;
}

.service-bg1 {
    background: url('assets/cosenno.jpg') center center/cover no-repeat;
}
.service-bg2 {
    background: url('assets/gendgee.jpg') center center/cover no-repeat;
}
.service-bg3 {
    background: url('assets/fingelab.jpg') center center/cover no-repeat;
}
.service-bg4 {
    background: url('assets/arfolio.jpg') center center/cover no-repeat;
}
.service-bg5 {
    background: url('assets/colonyHero.jpg') center center/cover no-repeat;
}
.service-bg6 {
    background: url('assets/emobox.jpg') center center/cover no-repeat;
}
.service-bg7 {
    background: url('assets/hotol.jpg') center center/cover no-repeat;
}
.service-bg8 {
    background: url('assets/mazi.jpg') center center/cover no-repeat;
}

/* Remove old image styles */
.service-img {
    display: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.service-card i {
    display: none;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-align: left;
    position: relative;
    margin-bottom: 1.5rem;
}

.service-card h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    margin-top: 0.5rem;
    border-radius: 2px;
}

.service-card p {
    font-size: 1.1rem;
    font-weight: 300;
    text-align: left;
}

.service-card.service-bg1 {
    color: #ffffff;
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    text-align: center;
    background: var(--card-bg);
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

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

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--card-bg);
    color: var(--text-color);
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
} 