/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Styles */
body {
    font-family: Arial, sans-serif;
    color: #333;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: auto;
}

/* Navbar Styles */
.navbar {
    background: transparent;
    color: #000; /* Black text */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 1.5s ease-in-out;
    backdrop-filter: blur(6px); /* Add blur effect */
    -webkit-backdrop-filter: blur(6px); /* For Safari */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    text-shadow: 0px 2px 2px rgba(2, 2, 2, 0.5);
}

.navbar .logo {
    font-size: 1.5em;
    font-weight: bold;
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-style: italic;
    transition: color 1s ease-in-out;
    text-shadow: 2px 2px 2px rgba(23, 23, 23, 0.5);
}

.navbar .nav-links {
    list-style: none;
    color: #000;
    display: flex;
    transition: color 3s ease-in-out;
}

.navbar .nav-links li a {
    margin-left: 20px;
    color: #000;
}

.navbar .nav-links a {
    color: #fff;
    text-decoration: none;
    transition: all 2s ease;
}

.navbar .nav-links a:hover {
    text-decoration: underline;
    text-shadow: 0px 2px 2px rgba(23, 23, 23, 0.5);
    transition: all 1s ease;
}

/* Scrolled Navbar Styles */
.navbar.scrolled {
    background: rgba(190, 12, 12, 0.611); /* Darker transparent background */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.678);
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a {
    color: #fff; /* White text */
}

.navbar.scrolled .nav-links a:hover {
    text-decoration: underline;
}

/* Update Hamburger Menu Colors */
.hamburger span {
    background: rgba(190, 12, 12, 0.611);  /* Black by default */
    transition: background 1s ease-in-out;
}

.navbar.scrolled .hamburger span {
    background: #fff; /* White when scrolled */
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 4px;
    width: 25px;
    background: #000000;
    margin: 4px 0;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: slideshow 15s infinite;
    display: flex;
    align-items: center;
}

@keyframes slideshow {
    0% { background-image: url('image1.jpg'); }
    33% { background-image: url('image2.jpg'); }
    66% { background-image: url('image3.jpg'); }
    100% { background-image: url('image1.jpg'); }
}

.hero .container {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Services Section */
.services {
    padding: 50px 0;
    background: #f4f4f4;
    margin-top: 80px; /* To avoid overlap with fixed navbar */
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    text-shadow:0px 0px 2px #333333b4;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    background-blend-mode: screen;
    padding: 20px;
    width: calc(50% - 20px);
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
    color: rgb(235, 235, 235);
    position: relative;
    overflow: hidden;
    opacity: 0.8;
    transform: translateY(50px);
    transition: all 1.0s ease-in-out;
    border-radius: 4px;
}

.card-content {
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    padding: 20px;
    border-radius: 5px;
    position: relative;
    z-index: 1; /* Ensure it sits above the background image */
}

.card.show {
    opacity: 1;
    transform: translateY(0);
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(196, 196, 196, 0.6);
    transition: background 1.5s ease-in-out;
}

.card h1 {
    position: relative;
    margin-bottom: 15px;
    color: rgb(43, 43, 43);
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    font-style: italic;
}

.card p {
    position: relative;
    line-height: 1.6;
    color: rgb(0, 0, 0);
    font-weight: 500;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.card:hover::after {
    background: rgba(255, 255, 255, 0.0);
}

.card:hover {
    transform: translateY(0) scale(1.01);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.438);
}

/* Pricing Section */
.pricing {
    padding: 50px 0;
}

.pricing h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    text-shadow:0px 0px 2px #333333b4;
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.pricing-category {
    width: calc(50% - 20px);
    margin-bottom: 40px;
}

.pricing-category h3 {
    text-align: center;
    margin-bottom: 10px;
}

.pricing-category p {
    text-align: center;
    margin-bottom: 20px;
}

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    background-blend-mode: overlay;
    padding: 20px;
    width: calc(100% - 20px);
    margin-bottom: 4px;
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    opacity: 0.4;
    transform: translateY(50px);
    transition: all 0.5s ease-in-out;
    border-radius: 2px;
}

.pricing-card.show {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(196, 196, 196, 0.5);
    transition: background 0.1s ease-in-out;
}

.pricing-card h4 {
    position: relative;
    text-align: center;
    margin-bottom: 10px;
    color: #000;
    font-size: 22px;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
}

.pricing-card p {
    position: relative;
    color: #000;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
}

.pricing-card .price {
    position: relative;
    font-size: 1.65em;
    font-weight: bold;
    margin-top: 10px;
}

.pricing-card .detail {
    position: relative;
    font-size: 1em;
    font-weight: bold;
    margin-top: 10px;
}

.pricing-card:hover::after {
    background: rgba(51, 51, 51, 0.1);
}

.pricing-card:hover {
    transform: translateY(0) scale(1.0);
    box-shadow: 2px 4px 15px rgba(0,0,0,0.4);
}

/* About Me Section */
.about {
    padding: 50px 0;
    margin-top: 50px; /* Adds space above */
    background: #f4f4f4; /* Optional: Change background color for contrast */
}


.about h2 {
    text-align: center;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease-in-out;
    font-size: 28px;
    text-shadow:0px 0px 2px #333333b4;
}

.about h2.show {
    opacity: 1;
    transform: translateY(0);
}

.about p {
    max-width: 800px;
    margin: auto;
    line-height: 1.6;
    text-align: left;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease-in-out;
    text-shadow:0px 0px 0.5px #333333b4;
}

.about p.show {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Section */
.contact {
    padding: 50px 0;
    background: #ff7f7f2d;
}

.contact h2 {
    text-align: center;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease-in-out;
    font-size: 28px;
    text-shadow:0px 0px 2px #333333b4;
}

.contact h2.show {
    opacity: 1;
    transform: translateY(0);
}

.contact p {
    text-align: center;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease-in-out;
}

.contact p.show {
    opacity: 1;
    transform: translateY(0);
}

.contact form {
    max-width: 600px;
    margin: auto;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease-in-out;
}

.contact form.show {
    opacity: 1;
    transform: translateY(0);
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
}

.contact button {
    background: rgba(233, 49, 49, 0.686);
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

.fancy-link {
    text-decoration: none;
    color: #e4e4e4;
    font-size: 22px;
    font-weight: bold;
    display: inline-block;
    transition: transform 1s ease, text-shadow 1.0s ease;
    text-align: left;
    position: relative;
    animation: pulse 5s infinite ease-in-out;
    -webkit-font-smoothing: antialiased; /* For Webkit browsers (Chrome, Safari) */
    -moz-osx-font-smoothing: grayscale;  /* For Firefox on macOS */
}

/* Smooth zoom and glow effect */
.fancy-link:hover {
    text-decoration: none;
    transform: scale(1.2); /* Zoom in slightly */
    text-shadow: 0 0px 10px rgba(8, 137, 223, 0.8); /* Soft blue glow */
    color: #ffffff;
}

/* Favorite Button */
.favorite-btn {
    position: fixed;
    bottom: 35px;
    right: 30px;
    background: rgba(190, 12, 12, 0.611);  /* Darker transparent background */
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
    font-size: 17px;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.8);
    z-index: 1000;
    animation: pulse1 1.5s 6;
    transition: all 1s ease;
    text-shadow: 0px 2px 0px #373737b9;
    text-decoration: none;
    -webkit-font-smoothing: antialiased; /* For WebKit browsers */
    -moz-osx-font-smoothing: grayscale; /* For Firefox on macOS */
    backdrop-filter: blur(6px); /* Add blur effect */
    -webkit-backdrop-filter: blur(6px); /* For Safari */
}

.favorite-btn:hover {
    background: rgba(213, 0, 0, 0.904);
    transform: scale(1.15);
    transition: all 1.2s ease;
    backdrop-filter: blur(10px); /* Add blur effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
}

form input, form textarea {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    resize: vertical;
}

/* Footer */
.footer {
    background: rgba(190, 12, 12, 0.611); 
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.footer p {
    text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.678);
    -webkit-font-smoothing: antialiased; /* For WebKit browsers */
    -moz-osx-font-smoothing: grayscale; /* For Firefox on macOS */

}

/* Responsive Styles */
@media (max-width: 768px) {
    .pricing-category {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
        flex-direction: column;
        background: #333;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
    }

    .navbar .nav-links.nav-active {
        display: flex;
    }

    .navbar .nav-links a {
        color: #fff; /* White text in mobile menu */
    }

    .navbar .nav-links a:hover {
        text-decoration: none;
    }

    .hamburger {
        display: flex;
    }

    .service-cards,
    .pricing-cards {
        flex-direction: column;
    }

    .card,
    .pricing-card {
        width: 100%;
        margin-bottom: 20px;
    }
}

html {
    scroll-behavior: smooth;
}
