/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header and Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a1a1a;
    letter-spacing: 1px;
    position: relative;
    animation: neonPulse 2s infinite;
    text-shadow: 0 0 10px rgba(196, 30, 58, 0.5);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-links a:hover {
    color: #c41e3a;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c41e3a;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.pexels.com/photos/1871508/pexels-photo-1871508.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 1rem;
    position: relative;
}

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background-color: #c41e3a;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background-color: #a01830;
    transform: translateY(-2px);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Services Section */
.services {
    padding: 6rem 1rem;
    background-color: #f8f9fa;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a1a1a;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 2.8rem;
    color: #c41e3a;
    margin-bottom: 1.5rem;
    animation: casinoSpin 3s infinite;
    transform-style: preserve-3d;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-card p {
    color: #666;
    line-height: 1.7;
}

/* Portfolio Section */
.portfolio {
    padding: 6rem 1rem;
    background-color: #fff;
}

.portfolio h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a1a1a;
    font-weight: 700;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    aspect-ratio: 16/9;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: rgba(26, 26, 26, 0.9);
    color: #fff;
    transition: bottom 0.4s ease;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
    transform: translateY(0);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Portfolio Stats */
.portfolio-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 2rem;
    background: linear-gradient(135deg, #1a1a1a, #333);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.portfolio-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: statsShine 5s infinite;
}

@keyframes statsShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    color: #fff;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
    width: 1px;
    background: rgba(255,255,255,0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #c41e3a;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    position: relative;
}

.stat-number::before {
    position: absolute;
    left: 0;
    animation: jackpotNumbers 4s infinite;
}

.stat-item p {
    font-size: 1rem;
    color: #999;
    font-weight: 500;
}

@media (max-width: 768px) {
    .portfolio-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 1.5rem;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stat-number {
        font-size: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

/* About Section */
.about {
    padding: 6rem 1rem;
    background-color: #f8f9fa;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a1a1a;
    font-weight: 700;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

/* Contact Section */
.contact {
    padding: 6rem 1rem;
    background-color: #fff;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a1a1a;
    font-weight: 700;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    padding: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.8rem;
    color: #c41e3a;
    margin-right: 1.5rem;
}

.info-item p {
    font-size: 1.1rem;
    color: #444;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #c41e3a;
    outline: none;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    padding: 1.2rem;
    background-color: #c41e3a;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.submit-button:hover {
    background-color: #a01830;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 4rem 1rem 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.footer-info p {
    color: #999;
    font-size: 0.95rem;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #c41e3a;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .social-links {
        margin-top: 1rem;
    }
    
    .social-links a {
        margin: 0 0.8rem;
    }
}

/* Certifications Section */
.certifications {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.certifications h3 {
    text-align: center;
    color: #1a1a1a;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.cert-item {
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
}

.cert-item i {
    font-size: 2.5rem;
    color: #c41e3a;
    margin-bottom: 1rem;
    animation: diceRoll 4s infinite;
    display: inline-block;
    transition: all 0.3s ease;
}

.cert-item:hover i {
    text-shadow: 0 0 10px #c41e3a, 0 0 20px #c41e3a, 0 0 30px #c41e3a;
    transform: scale(1.1);
}

.cert-item p {
    color: #666;
    font-weight: 500;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .certifications {
        margin-top: 3rem;
        padding: 1.5rem;
    }

    .cert-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.5rem;
    }

    .cert-item {
        padding: 1rem;
    }
}

/* Animations */
@keyframes neonPulse {
    0% { box-shadow: 0 0 5px #c41e3a, 0 0 10px #c41e3a, 0 0 20px #c41e3a; }
    50% { box-shadow: 0 0 10px #c41e3a, 0 0 20px #c41e3a, 0 0 30px #c41e3a; }
    100% { box-shadow: 0 0 5px #c41e3a, 0 0 10px #c41e3a, 0 0 20px #c41e3a; }
}

@keyframes casinoSpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes jackpotNumbers {
    0% { content: "$777"; }
    25% { content: "$888"; }
    50% { content: "$999"; }
    75% { content: "$1000"; }
    100% { content: "$777"; }
}

@keyframes diceRoll {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(90deg); }
    50% { transform: rotate(180deg); }
    75% { transform: rotate(270deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Portfolio Hover Effects */
.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #c41e3a, #000);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.portfolio-item:hover::before {
    opacity: 0.3;
}

/* Floating Casino Chips Effect */
.hero::before {
    content: '🎰';
    position: absolute;
    font-size: 2rem;
    animation: float 6s infinite;
    opacity: 0.2;
}

.hero::after {
    content: '♠️';
    position: absolute;
    font-size: 2rem;
    animation: float 8s infinite;
    opacity: 0.2;
    right: 10%;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

/* Stats Animation */
.portfolio-stats {
    position: relative;
    overflow: hidden;
}

.portfolio-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: statsShine 5s infinite;
}

@keyframes statsShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Certification Icons Glow */
.cert-item i {
    transition: all 0.3s ease;
}

.cert-item:hover i {
    text-shadow: 0 0 10px #c41e3a, 0 0 20px #c41e3a, 0 0 30px #c41e3a;
    transform: scale(1.1);
}

/* Mobile Animations */
@media (max-width: 768px) {
    .service-card i {
        animation: none;
    }
    
    .cert-item i {
        animation: none;
    }
    
    .hero::before,
    .hero::after {
        display: none;
    }
}

/* Floating Symbols Animation */
.floating-symbols {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.symbol {
    position: absolute;
    font-size: 2rem;
    opacity: 0.15;
    animation: floatSymbol 15s linear infinite;
}

.symbol:nth-child(1) { left: 10%; animation-delay: 0s; }
.symbol:nth-child(2) { left: 30%; animation-delay: 2s; }
.symbol:nth-child(3) { left: 50%; animation-delay: 4s; }
.symbol:nth-child(4) { left: 70%; animation-delay: 6s; }
.symbol:nth-child(5) { left: 85%; animation-delay: 8s; }
.symbol:nth-child(6) { left: 95%; animation-delay: 10s; }

@keyframes floatSymbol {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    50% {
        opacity: 0.15;
    }
    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

/* Button Shine Effect */
.button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

/* Service Icons Enhanced Animation */
.service-card i {
    position: relative;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: rotateY(180deg) scale(1.2);
}

.service-card i::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #c41e3a 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover i::after {
    opacity: 0.2;
}

/* Stats Counter Animation */
.stat-number {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #c41e3a;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.stat-number:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .floating-symbols {
        display: none;
    }
    
    .button-shine {
        animation: none;
    }
    
    .service-card:hover i {
        transform: none;
    }
} 