:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    background-color: rgba(44, 62, 80, 0.9);
    padding: 15px 0;
    transition: all 0.3s;
}

.navbar.scrolled {
    background-color: var(--dark-color);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 24px;
    color: white;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Hero Section */


/* Default styles for PC view */
.hero {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    background: linear-gradient(rgba(44, 62, 70, 0.8), rgba(44, 62, 70, 0.8)), url(cover.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
    color: white;
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: relative;
}

/* Mobile view styles */
      
@media only screen and (max-width: 768px) {
    .hero {
        width: 100%;
        height: 100dvh;
        min-height: 20px;
        max-height: 150px;
        background: linear-gradient(rgba(44, 62, 70, 0.85), rgba(44, 62, 70, 0.85)), url('mobilecover.jpg') no-repeat center center;
        background-size: cover;
        padding: 0 15px;
    }
}

/* Base styles for the cover photo container */
.cover-container {
    width: 70%;
    position: relative;
    overflow: hidden;
    /* Ensures no unwanted scrolling */
}

/* Mobile Adjustments */
@media (max-width: 678px) {
    .hero {
        background-attachment: scroll;
        /* Disable parallax on mobile */
        min-height: 50vh;
        /* Shorter height for mobile */
        padding: 60px 20px;
        /* More padding for content */
    }

    .hero h1 {
        font-size: 2.5rem;
        /* Smaller heading */
    }

    .hero p {
        font-size: 1rem;
        /* Smaller text */
    }
}

/* Style if the image is a background (using background-image) */
.cover-bg {
    width: 80%;
    height: 100px;
    /* Default height (adjust as needed) */
    background-image: url('cover.jpg');
    background-size: cover;
    /* Ensures full coverage */
    background-position: center;
    /* Centers the image */
    background-repeat: no-repeat;

}

/* Mobile responsiveness (adjust breakpoint as needed) */
@media (max-width: 678px) {

    /* Adjust height for smaller screens */
    .cover-bg {
        height: 100px;

    }

    /* If using an <img> tag, force full width */
    .cover-photo {
        min-height: 150px;
        /* Prevents collapsing */
        object-fit: cover;
        /* Fills container without stretching */

    }
}

/* Optional: Full-screen cover (if needed) */
.fullscreen-cover {
    width: 100vw;
    height: 100vh;
    /* Full viewport height */
    background-size: cover;
    background-position: center;

}




.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero-img img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Section Styling */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: var(--dark-color);
}

.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: calc(50% - 40px);
}

.section-title p {
    font-size: 18px;
    color: var(--text-light);
}

.section-bg {
    background-color: #f8f9fa;
}

/* Services */
.services .service-card {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    text-align: center;
    height: 100%;
}

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

.services .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-color);
    transition: all 0.3s;
}

.services .service-card:hover .icon {
    background: var(--primary-color);
    color: white;
}

.services h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.services p {
    color: var(--text-light);
}

/* Studio */
.studio .studio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.studio .studio-item img {
    transition: all 0.3s;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

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

.studio .studio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    color: white;
}

.studio .studio-info h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

.studio .studio-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* About */
.about .content h3 {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

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

.about .content ul li {
    padding: 0 0 15px 30px;
    position: relative;
    margin-bottom: 10px;
}

.about .content ul i {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-size: 20px;
}

.about .content p:last-child {
    margin-bottom: 0;
}

/* Contact */
.contact .info {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact .info i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact .info h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact .info p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.contact .php-email-form {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact .php-email-form .form-group {
    margin-bottom: 20px;
}

.contact .php-email-form label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    display: block;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
}

.contact .php-email-form button {
    background: var(--primary-color);
    border: 0;
    padding: 12px 30px;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.contact .php-email-form button:hover {
    background: #2980b9;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 0;
}

.footer h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

.footer .footer-links ul {
    list-style: none;
    padding: 0;
}

.footer .footer-links ul li {
    margin-bottom: 10px;
}

.footer .footer-links ul a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
}

.footer .footer-links ul a:hover {
    color: white;
    padding-left: 5px;
}

.footer .footer-links ul i {
    margin-right: 5px;
    color: var(--primary-color);
}

.footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s;
}

.footer .social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer .copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero {
        height: auto;
        padding: 100px 0 60px;
        text-align: center;
    }

    .hero-img {
        margin-top: 40px;
    }

    .footer {
        text-align: center;
    }

    .footer .footer-links ul {
        margin-bottom: 30px;
    }

    .footer .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 28px;
    }
}