/* ===================================
   UNIFIED CSS FOR CONTRACTING WEBSITE
   =================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
header {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #3498db;
}

/* ===================================
   PAGE HEADERS
   =================================== */
.hero,
.page-header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    text-align: center;
}

.hero {
    padding: 150px 0 100px;
}

.page-header {
    padding: 120px 0 60px;
}

.hero h1,
.page-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero p,
.page-header p {
    font-size: 24px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-header p {
    font-size: 20px;
}

.tagline {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.8;
}

/* ===================================
   BUTTONS & CALLS TO ACTION
   =================================== */
.cta-button,
.cta-btn,
.booking-btn,
.submit-btn {
    background: #3498db;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: background 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.cta-button:hover,
.cta-btn:hover,
.booking-btn:hover,
.submit-btn:hover {
    background: #2980b9;
}

.cta-button {
    background: #e74c3c;
}

.cta-button:hover {
    background: #c0392b;
}

.cta-btn.secondary,
.booking-btn.secondary {
    background: #e74c3c;
}

.cta-btn.secondary:hover,
.booking-btn.secondary:hover {
    background: #c0392b;
}

.submit-btn {
    padding: 18px 40px;
    border-radius: 8px;
    width: 100%;
}

/* ===================================
   SECTION LAYOUTS
   =================================== */
.features,
.services,
.process,
.about,
.contact,
.services-section,
.process-section,
.contact-section,
.company-story,
.team-section,
.cta-section,
.portfolio-section {
    padding: 80px 0;
}

.features,
.process,
.values-section,
.quick-booking,
.contact-section,
.cta-section,
.service-areas {
    background: #f8f9fa;
}

.testimonials,
.why-choose {
    background: #2c3e50;
    color: white;
}

/* Section Headings */
.features h2,
.services h2,
.process h2,
.about h2,
.contact h2,
.services-section h2,
.process-section h2,
.contact-section h2,
.team-section h2,
.cta-section h2,
.values-section h2,
.service-areas h2,
.portfolio-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.testimonials h2,
.why-choose h2 {
    color: white;
}

/* ===================================
   GRID LAYOUTS
   =================================== */
.features-grid,
.services-grid,
.process-steps,
.testimonial-grid,
.team-grid,
.values-grid,
.why-grid,
.areas-grid,
.portfolio-grid {
    display: grid;
    gap: 30px;
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.process-steps,
.process-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.process-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.testimonial-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.values-grid,
.why-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.areas-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* ===================================
   CARD COMPONENTS
   =================================== */
.feature-card,
.service-card,
.step,
.process-step,
.team-member,
.value-card,
.why-item,
.area-item,
.owner-card,
.service-category,
.portfolio-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-card:hover,
.service-card:hover,
.process-step:hover,
.team-member:hover,
.value-card:hover,
.area-item:hover,
.owner-card:hover,
.service-category:hover,
.portfolio-item:hover {
    transform: translateY(-5px);
}

.process-step:hover,
.value-card:hover,
.owner-card:hover,
.service-category:hover {
    transform: translateY(-10px);
}

.feature-card,
.value-card,
.process-step {
    padding: 40px 30px;
    text-align: center;
}

.service-card,
.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
}

.team-member {
    padding: 30px 20px;
    text-align: center;
}

.area-item {
    padding: 20px;
    text-align: center;
}

/* Service Categories (Services Page) */
.service-category {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-header {
    background: #3498db;
    color: white;
    padding: 30px;
    text-align: center;
}

.service-content {
    padding: 30px;
}

/* Owner Cards */
.owner-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.owners-section {
    margin-bottom: 60px;
}

.owners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
}

/* Portfolio Items */
.portfolio-item {
    overflow: hidden;
}

.portfolio-image {
    height: 250px;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(52, 152, 219, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    padding: 25px;
}

.portfolio-info h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.portfolio-info p {
    color: #666;
    line-height: 1.6;
}

.project-type {
    color: #3498db;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

/* ===================================
   ICONS & VISUAL ELEMENTS
   =================================== */
.feature-icon,
.service-icon,
.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #3498db;
}

.step-number,
.step-icon {
    width: 80px;
    height: 80px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-icon {
    font-size: 32px;
}

/* Photo Placeholders */
.service-image,
.about-image,
.story-image,
.team-photo,
.member-photo,
.owner-photo {
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.service-image {
    height: 200px;
    font-size: 18px;
}

.about-image,
.story-image {
    height: 400px;
    border-radius: 10px;
}

.story-image {
    border-radius: 15px;
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.owner-photo {
    height: 300px;
    font-size: 18px;
}

/* ===================================
   TEXT STYLES
   =================================== */
.feature-card h3,
.service-card h3,
.step h3,
.process-step h3,
.team-member h4,
.value-card h3,
.service-header h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-header h3 {
    color: white;
    margin-bottom: 10px;
}

.why-item h3 {
    color: #3498db;
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
}

.team-member h4 {
    font-size: 22px;
}

.area-item h4 {
    color: #3498db;
    font-size: 18px;
}

.team-member .role,
.team-member p.role {
    color: #3498db;
    font-weight: bold;
}

.owner-info h3 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.owner-info .title {
    color: #3498db;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* ===================================
   ABOUT PAGE SPECIFIC
   =================================== */
.story-content,
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.story-content {
    gap: 60px;
    margin-bottom: 60px;
}

.story-text h2,
.about-text h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.story-text p,
.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.story-text p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #555;
}

.story-text .highlight {
    background: #3498db;
    color: white;
    padding: 30px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    margin: 30px 0;
}

.team-subtitle {
    text-align: center;
    font-size: 20px;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.owner-info {
    padding: 30px;
}

.owner-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ===================================
   SERVICES PAGE SPECIFIC
   =================================== */
.services-intro {
    text-align: center;
    margin-bottom: 60px;
}

.services-intro h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.service-list {
    margin-bottom: 20px;
}

.service-list h4 {
    color: #27ae60;
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.service-list h4:before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    margin-right: 10px;
}

.service-list ul {
    list-style: none;
    margin-bottom: 20px;
}

.service-list li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    border-bottom: 1px solid #eee;
}

.service-list li:before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-list li:last-child {
    border-bottom: none;
}

.dont-do {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.dont-do h4 {
    color: #e74c3c;
    margin-bottom: 15px;
}

.dont-do h4:before {
    content: "✗";
    color: #e74c3c;
    font-weight: bold;
    margin-right: 10px;
}

.dont-do ul {
    list-style: none;
}

.dont-do li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    color: #666;
}

.dont-do li:before {
    content: "•";
    color: #e74c3c;
    position: absolute;
    left: 0;
}

/* ===================================
   FORMS & CONTACT
   =================================== */
.contact-content,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form,
.quote-form,
.contact-info {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.quote-form,
.contact-info {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.quote-form h3,
.contact-info h3 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.contact-info h3 {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.large {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #2c3e50;
}

.quote-form .form-group label {
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.quote-form .form-group input,
.quote-form .form-group textarea,
.quote-form .form-group select {
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.quote-form .form-group input:focus,
.quote-form .form-group textarea:focus,
.quote-form .form-group select:focus {
    outline: none;
    border-color: #3498db;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* File Upload */
.file-upload {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-upload input[type=file] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: block;
    padding: 15px;
    border: 2px dashed #3498db;
    border-radius: 8px;
    text-align: center;
    color: #3498db;
    cursor: pointer;
    transition: background-color 0.3s;
}

.file-upload-label:hover {
    background-color: #f8f9fa;
}

/* Contact Items */
.contact-item {
    margin-bottom: 30px;
}

.quote-form ~ .contact-info .contact-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.quote-form ~ .contact-info .contact-item h4 {
    font-size: 20px;
    display: flex;
    align-items: center;
}

.contact-item h4 .icon {
    margin-right: 10px;
    font-size: 24px;
}

.contact-item p {
    font-size: 16px;
    color: #666;
}

.quote-form ~ .contact-info .contact-item p {
    margin-bottom: 5px;
}

.contact-item a {
    color: #3498db;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.hours-info {
    background: #2c3e50;
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.hours-info h4 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 20px;
}

/* Wait Notice */
.wait-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
}

.wait-notice h3 {
    color: #856404;
    margin-bottom: 15px;
}

.wait-notice p {
    color: #856404;
    line-height: 1.8;
}

/* ===================================
   TESTIMONIALS
   =================================== */
.testimonial {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: bold;
    color: #3498db;
}

/* ===================================
   QUICK BOOKING & CTA SECTIONS
   =================================== */
.quick-booking,
.service-areas {
    padding: 60px 0;
    text-align: center;
}

.quick-booking p,
.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section p {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
}

.booking-buttons,
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.booking-btn {
    padding: 15px 30px;
    border-radius: 10px;
}

.cta-btn {
    padding: 18px 40px;
    border-radius: 10px;
}

/* ===================================
   PORTFOLIO SPECIFIC
   =================================== */
.portfolio-intro {
    text-align: center;
    margin-bottom: 60px;
}

.portfolio-intro h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.portfolio-intro p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.portfolio-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-btn {
    background: white;
    color: #3498db;
    padding: 10px 20px;
    border: 2px solid #3498db;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.category-btn:hover,
.category-btn.active {
    background: #3498db;
    color: white;
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 40px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #3498db;
}

.footer-section p,
.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    color: #bdc3c7;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1,
    .page-header h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 20px;
    }

    .about-content,
    .contact-content,
    .contact-grid,
    .story-content {
        grid-template-columns: 1fr;
    }

    .story-content {
        gap: 40px;
    }

    .contact-grid {
        gap: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .process-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .owners-grid {
        grid-template-columns: 1fr;
    }

    .booking-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-categories {
        justify-content: flex-start;
    }
}