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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(248, 231, 28, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px; /* Navigation logo height - compact size */
    width: 40px; /* Fixed square size for icon */
    transition: transform 0.3s ease;
    border-radius: 8px;
    object-fit: contain; /* Ensures icon fits properly in square */
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo-fallback {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F8E71C;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(248, 231, 28, 0.3);
}

.logo-icon {
    position: relative;
    width: 24px;
    height: 24px;
}

.hammer-head {
    position: absolute;
    top: 2px;
    left: 0;
    width: 12px;
    height: 8px;
    background: #000;
    border-radius: 2px;
}

.hammer-handle {
    position: absolute;
    top: 8px;
    left: 4px;
    width: 4px;
    height: 16px;
    background: #000;
    border-radius: 2px;
}

.logo-separator {
    position: relative;
    width: 2px;
    height: 20px;
}

.nail-line {
    width: 2px;
    height: 20px;
    background: #000;
    border-radius: 1px;
}

.nail-head {
    position: absolute;
    top: 2px;
    right: -3px;
    width: 6px;
    height: 6px;
    background: #000;
    border-radius: 50%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-seattle {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.logo-handyman {
    font-size: 12px;
    font-weight: 500;
    color: #000;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #F8E71C;
}

.language-switch {
    background: #F8E71C;
    color: #000;
    border: 2px solid #000;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.language-switch:hover {
    background: #000;
    color: #F8E71C;
    transform: translateY(-2px);
}

/* Service card guide button hover effect */
.service-card a[href*="dishwasher-installation.html"]:hover,
.service-card a[href*="faucet-repair-guide.html"]:hover,
.service-card a[href*="curtain-installation-case1.html"]:hover,
.service-card a[href*="curtain-installation-case2.html"]:hover {
    background: #000 !important;
    color: #F8E71C !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 12px rgba(0,0,0,0.3) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #F8E71C;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: #F8E71C;
    color: #000;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #000;
    color: #F8E71C;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.btn-large {
    padding: 1rem 8rem;
    font-size: 1.4rem;
    font-weight: 700;
    min-width: 500px;
    text-align: center;
    border-radius: 12px;
}

.btn-secondary {
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
}

.btn-secondary:hover {
    background-color: #000;
    color: #F8E71C;
    transform: translateY(-2px);
}

.btn i {
    margin-right: 0.5rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 300px;
}

.hero-card i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #000 !important;
    font-weight: 900;
}

.hero-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hero-card p {
    opacity: 0.9;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: #F8E71C;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-category {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #000;
}

.pricing-category h3 {
    color: #000;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.pricing-item:last-child {
    border-bottom: none;
}

.service-name {
    color: #333;
    font-weight: 500;
    flex: 1;
}

.service-price {
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    background: #F8E71C;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid #000;
}

.pricing-note {
    text-align: center;
    background: #000;
    color: #F8E71C;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.pricing-note p {
    margin: 0.5rem 0;
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #F8E71C;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: #000;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid #F8E71C;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #F8E71C;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #F8E71C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 3px solid #000;
}

.service-icon i {
    font-size: 2rem;
    color: #000;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #F8E71C;
    margin-bottom: 1rem;
}

.service-card p {
    color: #ccc;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #F8E71C;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #000;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature i {
    font-size: 1.5rem;
    color: #000;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #333;
    line-height: 1.6;
}

.about-stats {
    display: grid;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: #000;
    border-radius: 16px;
    color: #F8E71C;
    position: relative;
    border-top: 4px solid #F8E71C;
}

.stat h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #000;
    color: #F8E71C;
}

.contact .section-header h2,
.contact .section-header p {
    color: #F8E71C;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    background: rgba(248, 231, 28, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(248, 231, 28, 0.3);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-form .form-group:last-of-type {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.contact-form .form-group:last-of-type textarea {
    flex-grow: 1;
}

.contact-form button {
    width: 100%;
    margin-top: auto;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(248, 231, 28, 0.3);
    border-radius: 8px;
    background: rgba(248, 231, 28, 0.1);
    color: #F8E71C;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 350px;
    resize: vertical;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(248, 231, 28, 0.7);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #F8E71C;
    background: rgba(248, 231, 28, 0.15);
}

.form-group select option {
    background: #000;
    color: #F8E71C;
}

.contact-info {
    display: grid;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(248, 231, 28, 0.05);
    border-radius: 8px;
    border-left: 3px solid #F8E71C;
}

.contact-item i {
    font-size: 1.5rem;
    color: #F8E71C;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #F8E71C;
}

.contact-item p {
    opacity: 0.9;
    line-height: 1.6;
    color: #F8E71C;
}

.contact-item a {
    color: #F8E71C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #FFD700;
}

/* Footer */
.footer {
    background: #000;
    color: #F8E71C;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 35px; /* Footer logo height - smaller for footer */
    width: 35px; /* Fixed square size for icon */
    opacity: 0.9;
    border-radius: 6px;
    object-fit: contain; /* Ensures icon fits properly in square */
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section p i {
    width: 16px;
    text-align: center;
    color: #F8E71C;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #F8E71C;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #F8E71C;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #FFD700;
}

.footer-bottom {
    border-top: 1px solid rgba(248, 231, 28, 0.3);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .logo-image {
        height: 35px;
        width: 35px;
    }

    .logo-container {
        padding: 6px 12px;
        gap: 8px;
    }

    .logo-icon {
        width: 20px;
        height: 20px;
    }

    .hammer-head {
        width: 10px;
        height: 6px;
    }

    .hammer-handle {
        width: 3px;
        height: 14px;
        left: 3px;
    }

    .logo-separator {
        width: 1px;
        height: 16px;
    }

    .nail-line {
        width: 1px;
        height: 16px;
    }

    .nail-head {
        width: 4px;
        height: 4px;
        right: -2px;
    }

    .logo-seattle {
        font-size: 12px;
    }

    .logo-handyman {
        font-size: 10px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        min-width: 280px;
        width: 100%;
        max-width: 350px;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form button {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        margin-top: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        min-width: 250px;
        max-width: 300px;
    }

    .contact-form button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stat {
        padding: 1.5rem 1rem;
    }

    .stat h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .service-card {
        padding: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}

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

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.feature,
.stat {
    animation: fadeInUp 0.6s ease forwards;
}

/* Button hover effects */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}
