/* styles.css */

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Clean and standard font */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f0f0f0; /* Light gray background for a clean look */
    color: #333; /* Dark text for readability */
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a1a1a; /* Dark header for contrast */
    color: white;
    padding: 15px 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

header .logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: #f0f0f0;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

header nav ul li {
    margin: 0;
}

header nav ul li a {
    font-weight: 500;
    color: #ccc;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #4CAF50; /* Soft green for hover effect */
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 320px 20px;
    background: url('https://static.vecteezy.com/system/resources/previews/006/862/352/original/illustration-of-travel-using-as-business-web-template-agency-free-vector.jpg') no-repeat center center/cover;
    position: relative;
    color: #fff;
    background-size: cover;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.hero .btn {
    padding: 12px 25px;
    background: #4CAF50; /* Soft green button */
    color: white;
    font-weight: 600;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero .btn:hover {
    background: #45a049; /* Slightly darker green */
}

/* City Grid Section */
.city-grid {
    padding: 50px 20px;
    background-color: #fff;
}

.city-grid h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: #333;
}

.cities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.city-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;  /* Stack elements vertically */
    justify-content: space-between; /* Distribute space between content */
    text-align: center; /* Ensures horizontal centering of content */
    padding: 20px; /* Optional padding for inner spacing */
}

.city-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.city-card h3 {
    margin: 15px 0;
    font-size: 1.7rem;
    color: #333;
}

.city-card p {
    padding: 0 15px;
    color: #777;
    font-size: 1.1rem;
}

/* Center the button */
.city-card .btn {
    display: inline-block;
    margin-top: 20px; /* Adds spacing above the button */
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    text-decoration:#;
    border-radius: 50px;
    transition: background-color 0.3s ease;
    align-self: center; /* This will horizontally center the button */
}

.city-card .btn:hover {
    background: #45a049;
}

/* Temple Event Section */
#temple {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

#temple h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.event {
    margin-bottom: 20px;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#temple button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#temple button:hover {
    background-color: #45a049;
}

/* About Section */
#about {
    padding: 50px 20px;
    text-align: center;
    background-color: #f0f0f0;
}

#about h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 30px;
}

#about p {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: #555;
}

/* Contact Section */
#contact {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

form input,
form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    color: #333;
}

form button {
    background: #4CAF50;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

form button:hover {
    background: #45a049;
}

/* Footer Section */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 20px;
}

footer .social-icons {
    margin-bottom: 15px;
}

footer .social-icons a {
    color: white;
    margin: 0 12px;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

footer .social-icons a:hover {
    color: #4CAF50; /* Soft green for social icons */
}

footer p {
    font-size: 1rem;
    margin-top: 10px;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .city-grid h2 {
        font-size: 2rem;
    }

    .city-card {
        margin-bottom: 25px;
    }

    form input,
    form textarea {
        font-size: 1rem;
    }

    form button {
        font-size: 1rem;
    }
}
