/*
Theme Name: Bronte Bay
Theme URI: https://brontebay.com
Description: Custom WordPress theme for Bronte Bay
Version: 1.0
Author: Your Name
Text Domain: brontebay
*/

/* Page Header Styles - Not Fixed */
/* FIXED CSS - Match exact classes from your HTML */
.entry-content img.alignright {
    float: right !important;
    margin: 15px 0px 15px 25px !important;
    max-width: 45% !important;
}

.entry-content img.alignleft {
    float: left !important;
    margin: 15px 25px 15px 0px !important;
    max-width: 45% !important;
}

.entry-content img.aligncenter {
    display: block !important;
    margin: 25px auto !important;
    float: none !important;
}

/* Clear floats after images */
.entry-content:after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

/* FIXED CSS for Bootstrap Icons */
.widget-category .link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-category .link-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    transition: all 0.3s ease;
    padding-left: 25px; /* Space for icon */
}

.widget-category .link-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Bootstrap Icons - CORRECT SYNTAX */
.widget-category .link-list li:before {
    content: '\f136'; /* Bootstrap Icons use lowercase f */
    font-family: 'Bootstrap-Icons' !important;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 14px;
    color: #ff5134;
	padding-left: 25px; /* Space for icon */
    transition: all 0.3s ease;
}

.widget-category .link-list li:hover:before {
    color: #333;
    transform: translateX(3px);
}

.widget-category .link-list a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    display: block;
}

.widget-category .link-list a:hover {
    color: #ff5134;
    transform: translateX(5px);
}

.widget-category .link-list li:hover {
    border-bottom-color: #ff5134;
}

.page-header-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
	margin-bottom: 50px;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.page-header-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
    z-index: 2;
}

.page-header-content h1{
    
    color: #fff;
    
}

.page-header-content .entry-header {
    width: 100%;
}

.page-header-content .entry-title {
    font-size: 3rem;
    font-weight: 700;
	color: #fff !important;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    margin: 0;
}

/* Main content */
.container {
    position: relative;
    padding-top: 20px;
}



/* Contact Form Wrapper */
.cf7-beautiful-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-width: 600px;
    margin: auto;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

/* Form Heading */
.cf7-beautiful-form h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 25px;
    color: #333;
    font-weight: 700;
}

/* Labels */
.cf7-beautiful-form label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #444;
    font-size: 14px;
}

/* Inputs and Textareas */
.cf7-beautiful-form .cf7-input,
.cf7-beautiful-form .cf7-textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    font-size: 15px;
    transition: 0.3s;
    box-sizing: border-box;
    font-family: inherit;
}

/* Focus effect */
.cf7-beautiful-form .cf7-input:focus,
.cf7-beautiful-form .cf7-textarea:focus {
    border-color: #0095ff;
    box-shadow: 0 0 0 3px rgba(0,149,255,0.15);
    outline: none;
}

/* Readonly field styling */
.cf7-beautiful-form input[readonly] {
    background-color: #f8f9fa;
    color: #666;
    cursor: not-allowed;
}

/* Select dropdown styling */
.cf7-beautiful-form select.cf7-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 45px;
}

/* Button */
.cf7-beautiful-form .cf7-btn {
    width: 100%;
    padding: 16px;
    background: #0095ff;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-family: inherit;
    margin-top: 10px;
}

.cf7-beautiful-form .cf7-btn:hover {
    background: #0078cc;
    transform: translateY(-1px);
}

.cf7-beautiful-form .cf7-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cf7-beautiful-form {
        padding: 20px;
        margin: 20px;
        border-radius: 16px;
    }
    
    .cf7-beautiful-form h2 {
        font-size: 24px;
    }
    
    .cf7-beautiful-form .cf7-input,
    .cf7-beautiful-form .cf7-textarea {
        padding: 12px 14px;
        font-size: 16px; /* Better for mobile */
    }
}

/* Loading state */
.cf7-beautiful-form .cf7-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success/Error message styling */
.wpcf7-response-output {
    padding: 15px;
    border-radius: 12px;
    margin: 20px 0 !important;
    text-align: center;
    font-weight: 500;
}

.wpcf7-mail-sent-ok {
    border: 1px solid #4CAF50;
    background: #f8fff8;
    color: #2e7d32;
}

.wpcf7-validation-errors {
    border: 1px solid #ff9800;
    background: #fff8f0;
    color: #e65100;
}

/* White H4 in Content Wrapper */
.page-title-banner .content-wrapper h4 {
    color: #ffffff !important;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* If you need to target more specifically */
.hero-area .page-title-banner .content-wrapper h4 {
    color: #ffffff !important;
}

/* Fixed Image Size and Equal Height Blog Boxes */
.blog-posts .post-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
   
}

/* Fixed Image Container */
.blog-posts .image-wrapper {
    height: 250px; /* Fixed height */
    overflow: hidden;
    position: relative;
}

.blog-posts .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This is key - crops and fills the space */
    object-position: center;
    transition: transform 0.3s ease;
}

.blog-posts .image-wrapper:hover img {
    transform: scale(1.05);
}

/* Fixed Content Area */
.blog-posts .post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2px;
    background: #fff;
    
    border-top: none;
}

.blog-posts .post-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    gap: 2px;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
}

.blog-posts .post-meta li {
    margin: 0;
}

.blog-posts .entry-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    line-height: 1.3;
}

.blog-posts .entry-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-posts .entry-title a:hover {
    color: #ff5134;
}

.blog-posts .entry-content {
    flex: 1;
    margin-bottom: 2px;
    color: #666;
    line-height: 1.6;
}

.blog-posts .btn-open {
    align-self: flex-start;
    color: #ff5134;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.blog-posts .btn-open:hover {
    color: #e0462a;
    border-bottom-color: #ff5134;
}

/* Alternative: If you want all boxes exactly the same height */
.blog-posts .col-md-4 {
    display: flex;
	 margin-bottom: 30px;
}

.blog-posts .post-wrapper.post-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
}
/* Bootstrap Icons Styling for Blog Page */
.post-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #666;
}

.post-meta li {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-meta .bi {
    font-size: 14px;
    color: #ff5134;
}


/* Fix Contact Form Section Overflow */
.contact-form-section {
    margin: 50px 0;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ff5134;
    position: relative;
    z-index: 1;
    overflow: hidden; /* Prevent overflow */
}

/* Ensure proper container spacing */
.blog-section .container {
    position: relative;
    overflow: visible;
}

/* Clear floats properly */
.blog-posts:after {
    content: "";
    display: table;
    clear: both;
}

/* Fix for the entire section */
.blog-section {
    position: relative;
    overflow: hidden;
}

/* Ensure footer stays at bottom */
.site-footer {
    clear: both;
    position: relative;
}
/* Read More button with icon */
.btn-open {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #ff5134;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.btn-open:hover {
    color: #e0462a;
    border-bottom-color: #ff5134;
    gap: 8px;
}

.btn-open .bi {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.btn-open:hover .bi {
    transform: translateX(3px);
}

/* Pagination Icons */
.pagination-block .bi {
    font-size: 16px;
}

/* Create Post Button Icon */
.btn-main .bi {
    margin-left: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-posts .image-wrapper {
        height: 200px;
    }
    
    .blog-posts .post-content {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .blog-posts .image-wrapper {
        height: 180px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-header-wrapper {
        height: 200px;
    }
    
    .page-header-content .entry-title {
        font-size: 2.2rem;
    }
}
}

/* ============================================= */
/* PRICING TABLES STYLING */
/* ============================================= */

.pricing-section {
    padding: 40px 0 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    color: #2c3e50;
    font-weight: 600;
}

/* Single Row Layout - All plans in one row */
.price-table-02 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -20px;
}

.price-table-02 .col-sm-4 {
    padding: 0 20px;
    margin-bottom: 40px;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    box-sizing: border-box;
}

.pricing-wrapper {
    background: white;
    border-radius: 12px;
    padding: 15px 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 10px 0;
}

.pricing-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.pricing-wrapper.popular-plan {
    border: 2px solid #3498db;
    transform: scale(1.05);
    margin: 5px 0 15px 0;
}

.pricing-wrapper.popular-plan::before {
    
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.pricing-wrapper h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 2px;
    font-weight: 700;
    position: relative;
    line-height: 1.3;
}

.pricing-wrapper h3 span {
    display: block;
    font-size: 13px;
    background: #3498db;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-wrapper p {
    color: #7f8c8d;
    margin-bottom: 5px;
    font-size: 15px;
    line-height: 1.6;
    min-height: 18px;
}

.price-tag {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 30px;
    line-height: 1;
}

.price-tag small {
    font-size: 16px;
    font-weight: 500;
    color: #ccc;
    display: block;
    margin-top: 8px;
}

.pricing-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0 0 5px 0;
    text-align: left;
    flex-grow: 1;
}

.pricing-wrapper ul li {
    padding: 12px 0;
    border-bottom: 1px solid #f8f9fa;
    position: relative;
    padding-left: 30px;
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}

.pricing-wrapper ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 16px;
}

.pricing-wrapper ul li:last-child {
    border-bottom: none;
}



/* Responsive Design */
@media (max-width: 1200px) {
    .price-table-02 .col-sm-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .price-table-02 .col-sm-4 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .pricing-wrapper {
        margin: 5px 0;
        padding: 25px 20px;
    }
    
    .pricing-wrapper.popular-plan {
        transform: scale(1);
        margin: 10px 0;
    }
    
    .entry-header.with-bg-image {
        min-height: 300px;
        background-attachment: scroll; /* Disable fixed on mobile */
    }
    
    .entry-title {
        font-size: 36px;
    }
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -20px;
}

.page-content-after-pricing {
    margin-top: 80px !important;
    padding: 60px 0;
    background: #f8f9fa;
    border-radius: 10px;
}

/* Custom Background Classes for Specific Pages */
.page-id-123 .entry-header.with-bg-image {
    background-image: url('https://yourdomain.com/images/monthly-plans-bg.jpg');
}

.page-id-124 .entry-header.with-bg-image {
    background-image: url('https://yourdomain.com/images/yearly-plans-bg.jpg');
}

.page-id-125 .entry-header.with-bg-image {
    background-image: url('https://yourdomain.com/images/enterprise-bg.jpg');
}