/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0a0a0a;
    color: #f8f8f8;
    overflow-x: hidden;
}

section {
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Typography */
h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #e9e9e9, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #b8b8b8;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar.sticky {
    background-color: rgba(10, 10, 10, 0.9);
    padding: 15px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.logo span {
    background-color: #2997ff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo img {
    height: 60px;
    width: auto;
    vertical-align: middle;
    padding-left: 2rem;
    margin-right: 2rem; /* Adds some space between the logo and text */
}

@media screen and (max-width: 768px) {
    .logo {
        display: flex;
        align-items: center;
        font-size: 1.2rem; /* Smaller font size */
    }
    
    .logo img {
        height: 40px; /* Even smaller image */
        padding-left: 0;
        margin-right: 5px; /* Less spacing */
    }
    
    /* Optional: Make "PantherCore" and "Studios" display inline with less space */
    .logo span {
        margin-left: 2px;
    }
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #2997ff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #2997ff, #2997ff);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background-color: #0a0a0a;
    overflow: hidden;
    padding-top: 120px;
}

.hero-content {
    width: 60%;
}

.subtitle {
    font-size: 1.2rem;
    color: #2997ff;
    margin-bottom: 10px;
    font-weight: 500;
}

.reveal-btn {
    display: inline-block;
    padding: 6px 10px;
    background: #181818;
    color: #e9e9e9;
    text-decoration: none;
    font-weight: 500;
    border-radius: 30px;
    margin-top: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    z-index: 2;
}


/* Style for the revealed contact links (email and phone) */
#email-container a,
#phone-container a {
    color: #b8b8b8;           /* Set the desired text color */
    text-decoration: none;     /* Remove the default underline */
    font-weight: inherit;    /* Inherit font weight from parent <p> */
    font-size: inherit;        /* Inherit font size from parent <p> */
    transition: color 0.3s ease; /* Add smooth transition for hover effect */
}

/* Optional: Add a hover effect to make it clear they are links */
#email-container a:hover,
#phone-container a:hover {
    color: #2997ff;           /* Change color on hover (e.g., to your accent color) */
    text-decoration: underline; /* Optional: Add underline on hover */
}


.cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #2997ff;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 30px;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(233, 233, 233, 0.1);
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    height: 80vh;
    background-image: url('Hilton_1.jpeg');
    background-size: cover;
    background-position: center;
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.scroll-indicator p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 25px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

/* About Section */
.about {
    background-color: #111111;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.about-image {
    flex: 1;
    min-width: 300px;
    height: 500px;
    background-image: url('Hilton_2.jpeg');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    margin-right: 50px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
    transform: rotate(-3deg);
    transition: all 0.5s ease;
}

.about-image:hover {
    transform: rotate(0deg) scale(1.05);
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.skill-bars {
    margin-top: 30px;
}

.skill-bar {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.skill-progress {
    width: 100%;
    height: 10px;
    background-color: #2a2a2a;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(45deg, #ff7b00, #ff006e);
    border-radius: 5px;
    transition: width 1.5s ease;
}

/* Services Section */
.services {
    background-color: #0a0a0a;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #151515;
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #2997ff, #2997ff);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ff7b00;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Portfolio Section */
.portfolio {
    background-color: #111111;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: none;
    color: #b8b8b8;
    cursor: pointer;
    font-size: 1rem;
    margin: 0 15px;
    padding: 5px 10px;
    position: relative;
    transition: all 0.3s ease;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #2997ff, #89c5ff);
    transition: width 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    color: #fff;
}

.filter-btn:hover::after, .filter-btn.active::after {
    width: 100%;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

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

.portfolio-title {
    font-size: relative;
    margin-bottom: 10px;
    color: #fff;
}

.portfolio-category {
    color: #2997ff;
    margin-bottom: 15px;
}

/* Pricing Section */
.pricing {
    background-color: #0a0a0a;
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.pricing-card {
    background-color: #151515;
    border-radius: 10px;
    padding: 40px;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    text-align: justify;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #2997ff, #8fc8ff);
    transition: all 0.3s ease;
    z-index: -1;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.pricing-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2997ff;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #b8b8b8;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    margin-bottom: 15px;
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    color: #2997ff;
    margin-right: 10px;
}

/* Contact Section */
.contact {
    background-color: #111111;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #2997ff, #64b3ff);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    font-size: 1.2rem;
    color: #fff;
}

@media screen and (max-width: 480px) { /* Adjust breakpoint as needed, e.g., 480px for small phones */
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 15px;
        flex-shrink: 0;
    }

    /* Optional: Adjust text size slightly too if needed */
    .contact-text h3 {
        font-size: 1.1rem;
    }
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-text p {
    margin-bottom: 0;
}

.social-links {
    display: flex;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: #1e1e1e;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(45deg, #2997ff, #2997ff);
    transform: translateY(-5px);
}

/* Footer */
.footer {
    background-color: #0a0a0a;
    padding: 30px 0;
    text-align: center;
}

.footer p {
    font-size: 0.9rem;
    color: #777;
}

/* Parallax Effect */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.1;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    width: 100px; /* Default width */
    height: 100px; /* Default height */
    border-radius: 50%;
    background: rgba(41, 151, 255, 0.1);
    z-index: 0;
    /* Apply the animation here */
    animation-name: float;
    animation-duration: 6s; /* Default duration */
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    /* If you want the 'alternate' direction like in the JS: */
    /* animation-direction: alternate; */
}

/* Define the keyframes */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px); /* Adjust vertical movement as needed */
    }
    100% {
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .hero-content {
        width: 100%;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: 50vh;
        margin-top: 50px;
        clip-path: none;
        border-radius: 10px;
        transform: none;
        top: 0;
    }

    .about-image {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .container {
        padding: 0 20px;
    }
}

@media screen and (max-width: 768px) {


    .portfolio-item .portfolio-overlay {
        opacity: 1;
    }

    .scroll-indicator {
        opacity: 0;
    }

    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background-color: rgba(10, 10, 10, 0.9);
        flex-direction: column;
        width: 100%;
        text-align: center;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        padding: 20px 0;
    }

    .nav-links.active {
        transform: translateX(0%);
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding-top: 80px;
    }
}
