/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: rgba(255, 255, 255, 0.3); /* Dark background */
    color: #fff; /* White text for contrast */
    line-height: 1.6;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Header */
header {
    background-color: #ffffff; /* Black background */
    color: #222222; /* Gold text */
    padding: 20px 30px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header .logo {
    font-size: 1.4rem; /* Smaller font size for logo */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #222222;
    transition: color 0.3s ease;
}

header .logo:hover {
    color: #fff; /* Change to white on hover */
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    color: #222222;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #FFD700;
}

/* Styling for "Z I V A G" with a gold 3D effect */
.brand-name {
    font-size: 4rem;
    font-family: Alfa Slam One;
    font-weight: bold;
    color: #222222; /* Gold color */
    letter-spacing: 2px;
}

/* Hero Section */
.hero {
    background-image: url('background2.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 300px 20px; /* Adjusted padding for better mobile display */
    color: white;
    position: relative;
    animation: fadeIn 2s ease-out;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero h1 {
    font-size: 3.8rem; /* Slightly smaller for a better balance */
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    color: #FFD700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    color: #fff;
}

.cta-button {
    background-color: #FFD700;
    color: black;
    padding: 18px 35px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 30px;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 2;
}

.cta-button:hover {
    background-color: #222;
    color: #FFD700;
}

/* Service Section */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 120px 20px;
    background-color: #ffffff; /* Dark background for services */
    text-align: center;
    animation: fadeInUp 1.5s ease-out;
    max-width: 1200px;
    margin: 0 auto;
}

.services h2 {
    font-size: 2.6rem;
    font-weight: 700;
    font-family: 'Times New Roman', Times, serif;
    color: #222222;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.service-item {
    background: linear-gradient(to right, #333, #555); /* Darker gradient */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.service-item h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #FFD700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.service-item p {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 30px;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* About Us Section */
.about-us {
    padding: 220px 20px;
    background-color: white;
    text-align: center;
    animation: fadeInUp 1.5s ease-out;
    position: relative;
    z-index: 1;
}

.about-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3); /* Dark overlay */
    z-index: -1;
}

.about-us h2 {
    font-size: 3rem;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 30px;
    font-weight: 800;
    color: #222222;
    text-transform: uppercase;
    letter-spacing: 2px;
}


.about-us img {
    display: block; /* Make the image block-level */
    margin: 0 auto; /* Center the image */
    max-width: 100%; /* Ensure it doesn't overflow the container */
    height: auto; /* Keep the aspect ratio intact */
}

.about-us p {
    font-size: 1.2rem;
    color: #000000;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 500;
}

/* Contact Us Section */
.contact-us {
    padding: 100px 20px;
    background-color: rgba(255, 255, 255, 0.3); /* Darker gradient */
    text-align: center;
    animation: fadeInUp 1.5s ease-out;
}

.contact-us h2 {
    font-size: 3rem;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 30px;
    font-weight: 700;
    color: #222222;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.contact-item {
    background: linear-gradient(to right, #333, #555);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.contact-item i {
    font-size: 3rem;
    margin-left: 135px;
    color: #FFD700;
    margin-bottom: 20px;
}

.contact-item .info-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    color: #FFD700;
}

.contact-item p {
    font-size: 1.1rem;
    text-align: center;
    color: #ffffff;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
    background-color: #ffffff; /* Black background for footer */
    color: rgb(0, 0, 0);
    padding: 40px 20px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-logo {
    flex: 1;
    text-align: center;
    margin-bottom: 20px;
}

.footer-logo h3 {
    font-size: 2rem;
    font-weight: 700;
    font-family: Alfa Slab One;
    color: #222222; 
}

.footer-logo p {
    font-size: 1.1rem;
    color: #000000;
    font-weight: 300;
}

.footer-links {
    flex: 1;
    text-align: center;
    margin-bottom: 20px;
}

.footer-links h4 {
    font-size: 1.4rem;
    color: #222222; 
    margin-bottom: 10px;
}

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

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

.footer-links a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFD700; 
}

.footer-social {
    flex: 1;
    text-align: center;
    margin-bottom: 20px;
}

.footer-social h4 {
    font-size: 1.4rem;
    color: #222222; 
    margin-bottom: 10px;
}

.footer-social ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

.footer-social li {
    margin: 0 15px;
}

.footer-social a {
    color: rgb(0, 0, 0);
    font-size: 2rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #FFD700; /* Gold hover effect */
}

.footer-social i {
    font-size: 2.5rem;
}

.footer-bottom {
    background-color: #1a1a1a; /* Darker black background for the bottom part */
    color: rgb(255, 255, 255);
    padding: 10px;
    font-size: 1rem;
}

.footer-bottom p {
    margin: 0;
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
    header {
        padding: 15px 20px;
    }
    
    .hero {
        padding: 150px 20px;
    }
    
    .services {
        padding: 80px 20px;
    }
    
    .contact-info {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px 10px;
    }
    
    .services {
        padding: 60px 20px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 15px 30px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 15px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .services {
        padding: 50px 15px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}
