/* Custom styles for Sydney Pressure Wash */
.font-poppins {
    font-family: 'Poppins', sans-serif;
}

/* Navigation styles */
.nav-link {
    color: #374151;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-link:hover {
    color: #2563eb;
}

.mobile-nav-link {
    color: #374151;
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
}

.mobile-nav-link:hover {
    color: #2563eb;
}

/* Hero section */
.hero-section {
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('https://api.congero.com.au/imgs/e451e4ae-8ce8-4884-a4da-5705aa7335e6.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Mobile responsive adjustments for hero section */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 100vh;
        background-size: cover;
        background-position: center 30%;
        padding: 0 0.5rem;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

/* CTA Buttons */
.cta-button {
    background-color: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.cta-button:hover {
    background-color: #1d4ed8;
}

@media (min-width: 640px) {
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }
}

.cta-button-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-button-secondary:hover {
    background-color: white;
    color: #2563eb;
}

@media (min-width: 640px) {
    .cta-button-secondary {
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }
}

.cta-button,
.cta-button i {
    color: white !important;
}

.cta-button-secondary,
.cta-button-secondary i {
    color: white !important;
}

.cta-button-secondary:hover {
    color: #2563eb !important;
}

.cta-button-secondary:hover i {
    color: #2563eb !important;
}

/* Modern Service Cards */
.modern-service-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.5s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(0) scale(1);
}

.modern-service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.modern-service-image-container {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.modern-service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.modern-service-card:hover .modern-service-image {
    transform: scale(1.1);
}

.modern-service-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent, transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1.5rem;
}

.modern-service-card:hover .modern-service-overlay {
    opacity: 1;
}

.modern-service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.modern-service-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.modern-service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.modern-service-description {
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.625;
    flex-grow: 1;
    font-size: 0.875rem;
}

.modern-service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    padding: 0.25rem 0.75rem;
    background-color: #eff6ff;
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
}

.modern-service-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: linear-gradient(to right, #2563eb, #1d4ed8);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    transform: translateY(0);
}

.modern-service-cta:hover {
    background: linear-gradient(to right, #1d4ed8, #1e40af);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    transform: translateY(-0.25rem);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .modern-service-image-container {
        height: 200px;
    }
    
    .modern-service-content {
        padding: 1.25rem;
    }
    
    .modern-service-title {
        font-size: 1.125rem;
    }
    
    .modern-service-description {
        font-size: 0.875rem;
    }
    
    .modern-service-cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .modern-service-card {
        margin-bottom: 1rem;
    }
    
    .modern-service-image-container {
        height: 180px;
    }
    
    .modern-service-content {
        padding: 1rem;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
    }
}

/* Area cards */
.area-card {
    background-color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: all 0.3s;
    color: #374151;
    font-weight: 500;
    font-size: 0.875rem;
}

.area-card:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

@media (min-width: 640px) {
    .area-card {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Custom colors for Tailwind 2.2.19 compatibility */
.bg-orange-500 {
    background-color: #f97316;
}

.text-orange-500 {
    color: #f97316;
}

.bg-teal-500 {
    background-color: #14b8a6;
}

.text-teal-500 {
    color: #14b8a6;
}

/* Mobile heading adjustments */
.mobile-heading {
    overflow: hidden;
    white-space: nowrap;
}

.company-name {
    display: inline;
}

/* Mobile responsive heading */
@media (max-width: 640px) {
    .mobile-heading {
        font-size: 0.9rem;
        line-height: 1.2;
        white-space: normal;
        word-break: break-word;
        hyphens: auto;
        max-width: calc(100vw - 120px);
    }
    
    .company-name {
        display: inline-block;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .mobile-heading {
        font-size: 0.8rem;
        max-width: calc(100vw - 100px);
    }
}

@media (max-width: 375px) {
    .mobile-heading {
        font-size: 0.75rem;
        max-width: calc(100vw - 90px);
    }
}

/* Extra small screens breakpoint */

/* Mobile-specific improvements */
@media (max-width: 640px) {
    /* Improve mobile navigation */
    .mobile-nav-link {
        padding: 1rem 0.75rem;
        font-size: 1.1rem;
    }
    
    /* Better mobile typography */
    h1 {
        line-height: 1.2;
    }
    
    h2 {
        line-height: 1.3;
    }
    
    /* Mobile-friendly touch targets */
    .cta-button,
    .cta-button-secondary {
        min-height: 48px;
        touch-action: manipulation;
    }
    
    /* Improve mobile spacing */
}

/* Extra small mobile devices */
@media (max-width: 375px) {
    .hero-section h1 {
        font-size: 1.875rem;
        line-height: 1.1;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .cta-button,
    .cta-button-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .area-card {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
}

/* Smooth scrolling with nav offset */
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 70px;
}

/* START: DYNAMIC FORM INSERT styling */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    color: rgb(22, 22, 22);
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
    .form-container {
        padding: 2rem;
    }
}

.form-group {
    margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
    .form-group {
        margin-bottom: 1.5rem;
    }
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

@media (min-width: 640px) {
    .form-group label {
        font-size: 1rem;
    }
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

@media (min-width: 640px) {
    .form-group input,
    .form-group textarea {
        font-size: 1rem;
    }
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.form-submit { 
    background-color: #3b82f6; 
    color: white; 
    border: none; 
    padding: 0.875rem 2rem; 
    border-radius: 8px; 
    cursor: pointer; 
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
    width: 100%;
}

@media (min-width: 640px) {
    .form-submit {
        font-size: 1rem;
        padding: 0.75rem 2rem;
    }
}

.form-submit:hover { 
    background-color: #2563eb; 
}
/* END: DYNAMIC FORM INSERT styling */
