/*
Theme Name: Abhiram Waterproof Services
Theme URI: https://abhiramwaterproofservices.com
Author: Abhiram Waterproof Team
Author URI: mailto:abhiramwaterproofservices@gmail.com
Description: Custom WordPress theme for Abhiram Waterproof Services with SEO optimization, gallery, contact, blog, testimonials, and FAQ pages.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: waterproofing, services, construction, responsive, business
Text Domain: abhiram-waterproof
*/


/* Blog Post Styling */
.container.blog-post {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    border-radius: 10px;
}
.blog-post .featured-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}
.blog-post .entry-title {
    font-size: 2rem;
    margin: 20px 0;
    color: #004466;
}
.blog-post .post-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
}
.blog-post .entry-content {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}
.blog-post .cta-box {
    background: #004466;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}
.blog-post .cta-box h3 {
    margin-bottom: 10px;
}

/* Latest Blog Posts Grid */
.latest-blogs {
    margin: 60px auto;
    text-align: center;
}
.latest-blogs .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #004466;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.blog-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: left;
    transition: transform 0.3s;
}
.blog-card:hover {
    transform: translateY(-5px);
}
.blog-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}
.blog-card h3 {
    font-size: 1.3rem;
    margin: 10px 0;
    color: #004466;
}
.blog-card p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #555;
}
.blog-card .read-more {
    display: inline-block;
    padding: 8px 15px;
    background: #004466;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
}
.blog-card .read-more:hover {
    background: #006699;
}

/* Blog Archive Page */
.blog-archive {
    max-width: 1100px;
    margin: 50px auto;
    padding: 20px;
}
.blog-archive .page-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #004466;
}
.blog-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.pagination {
    margin-top: 30px;
    text-align: center;
}
.pagination a, .pagination span {
    margin: 0 5px;
    padding: 8px 12px;
    background: #f0f0f0;
    border-radius: 5px;
    text-decoration: none;
    color: #004466;
}
.pagination .current {
    background: #004466;
    color: #fff;
}

/* About Us Page */
.about-page {
    max-width: 1100px;
    margin: 50px auto;
    padding: 20px;
}
.about-page .page-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #004466;
}
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}
.about-text {
    flex: 1 1 60%;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}
.about-text h2, .about-text h3 {
    color: #004466;
    margin-top: 20px;
}
.about-text ul {
    list-style: none;
    padding: 0;
}
.about-text ul li {
    margin: 8px 0;
}
.about-image {
    flex: 1 1 35%;
}
.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.team-section {
    text-align: center;
}
.team-section h2 {
    margin-bottom: 30px;
    color: #004466;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.team-member {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.team-member img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 15px;
}
.team-member h4 {
    margin-bottom: 5px;
    color: #004466;
}
.team-member p {
    font-size: 0.95rem;
    color: #555;
}

/* Contact Us Page */
.contact-page {
    max-width: 1100px;
    margin: 50px auto;
    padding: 20px;
}
.contact-page .page-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #004466;
}
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.contact-details {
    flex: 1 1 50%;
}
.contact-details h2, .contact-details h3 {
    color: #004466;
    margin-bottom: 15px;
}
.contact-details p {
    font-size: 1rem;
    margin: 10px 0;
}
.contact-details a {
    color: #004466;
    text-decoration: none;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}
.contact-form button {
    padding: 12px;
    background: #004466;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}
.contact-form button:hover {
    background: #006699;
}
.contact-map {
    flex: 1 1 45%;
}
.contact-map h2 {
    margin-bottom: 15px;
    color: #004466;
}
.contact-map iframe {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Services Page */
.services-page {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
}
.services-page .page-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #004466;
}
.services-page .intro-text {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #444;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.service-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.service-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}
.service-card h3 {
    color: #004466;
    margin-bottom: 10px;
}
.service-card p {
    font-size: 0.95rem;
    color: #555;
}

/* Portfolio Page */
.portfolio-page {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
}
.portfolio-page .page-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #004466;
}
.portfolio-page .intro-text {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #444;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.portfolio-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.portfolio-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: transform 0.3s;
}
.portfolio-card img:hover {
    transform: scale(1.05);
}
.portfolio-card h3 {
    color: #004466;
    margin-bottom: 10px;
}
.portfolio-card p {
    font-size: 0.95rem;
    color: #555;
}

/* Testimonials Page */
.testimonials-page {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
}
.testimonials-page .page-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #004466;
}
.testimonials-page .intro-text {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #444;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.testimonial-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 15px;
    color: #333;
}
.testimonial-rating {
    font-size: 1.3rem;
    color: #ff9800;
    margin-bottom: 10px;
}
.testimonial-card h4 {
    color: #004466;
    font-size: 1rem;
}

/* Blog Page */
.blog-page {
    max-width: 1100px;
    margin: 50px auto;
    padding: 20px;
}
.blog-page .page-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #004466;
}
.blog-page .intro-text {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #444;
}
.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.blog-thumb img {
    width: 100%;
    display: block;
    border-bottom: 2px solid #eee;
}
.blog-content {
    padding: 20px;
}
.blog-content h3 {
    color: #004466;
    margin-bottom: 10px;
}
.blog-content p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}
.read-more {
    color: #0077aa;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}
.read-more:hover {
    color: #004466;
}

/* FAQ Page */
.faq-page {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
}
.faq-page .page-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #004466;
}
.faq-page .intro-text {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #444;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.faq-item {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.faq-item h3 {
    color: #004466;
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.faq-item p {
    color: #555;
    font-size: 0.95rem;
}

/* Contact Page */
.contact-page {
    max-width: 1100px;
    margin: 50px auto;
    padding: 20px;
}
.contact-page .page-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #004466;
}
.contact-page .intro-text {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #444;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}
.contact-details {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.contact-details h3 {
    margin-top: 0;
    color: #004466;
}
.contact-details p {
    margin: 10px 0;
    font-size: 0.95rem;
    color: #333;
}
.contact-details a {
    color: #0077aa;
    text-decoration: none;
}
.contact-details a:hover {
    text-decoration: underline;
}
.contact-form {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.contact-form h3 {
    margin-top: 0;
    color: #004466;
}

/* Contact Page Map */
.map-container {
    margin-top: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Gallery Page */
.gallery-page {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
}
.gallery-page .page-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #004466;
}
.gallery-page .intro-text {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #444;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}
.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* --- Base layout for header/footer/navigation --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.site-header { background:#ffffff; border-bottom:1px solid #eaeaea; position:sticky; top:0; z-index:100; }
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 0; }
.brand { display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand-logo { height:48px; width:auto; }
.brand-logo.small { height:36px; }
.brand-text { font-weight:700; color:#004466; font-size:1.1rem; }
.primary-nav .menu { list-style:none; display:flex; gap:18px; margin:0; padding:0; }
.primary-nav .menu li a { text-decoration:none; color:#004466; padding:8px 10px; border-radius:8px; }
.primary-nav .menu li a:hover { background:#f0f8ff; }
.cta-call { background:#004466; color:#fff; padding:8px 12px; border-radius:8px; text-decoration:none; }
.cta-call:hover { opacity:0.9; }

.site-footer { background:#0b2833; color:#cfe6ef; margin-top:40px; }
.footer-inner { display:flex; flex-wrap:wrap; gap:24px; padding:24px 0; align-items:flex-start; }
.footer-nav { list-style:none; display:flex; flex-wrap:wrap; gap:12px; margin:0; padding:0; }
.footer-nav a { color:#cfe6ef; text-decoration:none; }
.copyright { background:#081d24; color:#a8c7d0; padding:12px 0; text-align:center; }

.post-card { background:#fff; border-radius:12px; box-shadow:0 2px 8px rgba(0,0,0,0.08); padding:16px; margin:16px 0; }
.post-card .thumb img { width:100%; border-radius:10px; }

@media (max-width: 768px) {
  .primary-nav .menu { gap:10px; }
  .brand-text { display:none; }
}
