/*
Theme Name: AtoZ Taranagar
Theme URI: https://example.com/atoz-taranagar
Author: Abid
Description: A custom theme for AtoZ Taranagar with vehicle and marriage palace booking features.
Version: 1.3
Text Domain: atoz-taranagar
*/

:root {
    --bg-color: #e6e6e6;
    /* Slightly darker gray as per image */
    --card-bg: #ffffff;
    --text-main: #333333;
    --accent-color: #2c2c2c;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --border-radius: 12px;
    /* Slight radius as requested */
}

body {
    background-color: var(--bg-color);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

/* Global Font Enforcement */
* {
    font-family: 'Poppins', sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* BUTTONS */
.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    font-size: 14px;
    text-transform: uppercase;
}

.btn:hover {
    background-color: #000;
}

/* HEADER & NAVIGATION */
.site-header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    /* Force Left and Right extremes */
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    /* Important for padding */
}

.logo {
    flex-shrink: 0;
    /* Verify logo doesn't shrink */
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-link img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.main-menu {
    flex-shrink: 0;
}

.main-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex !important;
    gap: 30px;
    align-items: center;
    flex-direction: row !important;
    /* STRICTLY HORIZONTAL */
}

.main-menu ul li {
    display: inline-block;
    margin: 0;
}

.main-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.main-menu ul li a:hover {
    color: #d9534f;
}

/* CARDS COMMON STYLE */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Force 4 columns */
    gap: 20px;
    padding: 20px 0;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    width: 100%;
    /* removed max-width to let grid control size */
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.card-image {
    width: 100%;
    aspect-ratio: 4/3;
    /* Enforce consistent aspect ratio */
    height: auto;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 10px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crop to fit */
    transition: transform 0.3s;
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #222;
}

.service-card p.subtitle {
    color: #777;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: bold;
}

/* FOOTER STYLES */
.site-footer {
    background: #151515;
    /* Dark Background */
    color: #aeaeae;
    padding: 60px 0 20px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    text-align: left;
    /* Ensure left alignment */
}

.footer-heading {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    text-transform: capitalize;
    /* "Quick Links" etc */
    font-weight: 600;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    /* Short Red Line */
    height: 2px;
    background: #d9534f;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aeaeae;
    text-decoration: none;
    transition: 0.3s;
    font-size: 13px;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
    color: #d9534f;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #aeaeae;
    font-size: 13px;
}

.contact-list li i {
    color: #00bcd4;
    /* Cyan/Blue Icon Color from image */
    font-size: 18px;
    margin-top: 2px;
}

/* Icon Symbol Styling for Emoji Icons */
.icon-symbol {
    display: inline-block;
    font-size: 20px;
    margin-right: 10px;
    vertical-align: middle;
    line-height: 1;
}

.social-icons .social-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    background: #252525;
    /* Dark circle background */
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    margin-right: 10px;
    transition: background 0.3s;
}

.social-icons .social-icon:hover {
    background: #d9534f;
}

/* Horizontal Line Separator */
.footer-separator {
    border: 0;
    border-top: 1px solid #333;
    margin: 0 0 20px 0;
}

/* CEO Section Spacing */
.footer-founder-section {
    margin-top: 15px;
    text-align: center;
}

.footer-bottom-text {
    text-align: center;
    font-size: 12px;
    color: #666;
}

/* RESPONSIVE QUERIES */

/* Laptop / Small Desktop */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns */
    }
}

/* Tablet */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns */
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns footer */
    }

    .hero-section h1 {
        font-size: 36px;
    }
}

/* Mobile - FORCE DESKTOP VIEW MOCKUP (As requested) */
/* We are deliberately NOT stacking content on mobile to mimic desktop view as closely as possible per user request */
/*
@media (max-width: 600px) {
    .header-container { flex-direction: row; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
*/