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

/* Real Asphalt Shingle Pattern */
.asphalt-shingles {
    background-image: url('../images/roofTile.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.charcoal-texture {
    background: 
        /* Granular texture */
        radial-gradient(circle at 20% 30%, #4A4A4A 1px, transparent 1px),
        radial-gradient(circle at 70% 80%, #3A3A3A 1px, transparent 1px),
        radial-gradient(circle at 40% 60%, #5A5A5A 1px, transparent 1px),
        radial-gradient(circle at 90% 20%, #2A2A2A 1px, transparent 1px),
        /* Base charcoal gradient */
        linear-gradient(135deg, #3C3C3C 0%, #1E1E1E 100%);
    background-size: 
        16px 16px,
        20px 20px,
        12px 12px,
        18px 18px,
        100% 100%;
}

/* Real Shingle Dividers */
.shingle-divider {
    height: 60px;
    background-image: url('../images/roofTile.jpg');
    background-size: 300px auto;
    background-repeat: repeat-x;
    background-position: 0 -50px;
    box-shadow: 
        inset 0 2px 4px rgba(0,0,0,0.5),
        inset 0 -2px 4px rgba(255,255,255,0.05);
}

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

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

/* Header and Navigation */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
}

.navbar {
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-container {
    padding: 0 10px 0 20px;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin-left: auto;
    margin-right: 0;
    padding-right: 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    position: absolute;
    left: 10px;
}

.nav-logo .logo {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-menu li {
    margin-left: 2rem;
}

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

.nav-menu a:hover {
    color: #B87333;
}

/* Navigation CTA Button */
.nav-cta-btn {
    background: linear-gradient(135deg, #B87333 0%, #CD7F32 100%) !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    margin-left: 20px !important;
    box-shadow: 0 3px 10px rgba(139, 115, 85, 0.3) !important;
    transition: all 0.3s ease !important;
}

.nav-cta-btn:hover {
    background: linear-gradient(135deg, #CD7F32 0%, #B87333 100%) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.4) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

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

/* Hero Section */
.hero {
    background: 
        /* Dark overlay for text readability */
        linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%),
        /* Real asphalt shingle image */
        url('../images/roofTile.jpg');
    background-size: 
        100% 100%,
        cover;
    background-repeat: 
        no-repeat,
        no-repeat;
    background-position: 
        0 0,
        center center;
    background-attachment:
        scroll,
        fixed;
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-phone {
    margin-bottom: 2rem;
    text-align: center;
}

.hero-phone-link {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    transition: all 0.3s ease;
}

.hero-phone-link:hover {
    color: #CD7F32;
    transform: scale(1.05);
}

.hero-phone-link i {
    margin-right: 10px;
}

.hero-phone-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
    font-style: italic;
}

.hero-buttons {
    margin-bottom: 3rem;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 0 10px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-primary:hover {
    background: white;
    color: #2C2C2C;
    transform: translateY(-2px);
}

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

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

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.feature i {
    font-size: 1.5rem;
    color: #CD7F32;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #B87333;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    transform: translateY(0);
}

/* Shingle textured service card */
.service-card.asphalt-shingles {
    background: 
        linear-gradient(135deg, rgba(255, 248, 240, 0.95) 0%, rgba(245, 238, 230, 0.95) 100%),
        url('../images/roofTile.jpg');
    background-size: 
        100% 100%,
        300px auto;
    background-repeat:
        no-repeat,
        repeat;
    background-position: 
        0 0,
        0 0;
}

.service-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !important;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%),
        url('../images/roofTile.jpg') !important;
    background-size: 
        100% 100%,
        120% 120% !important;
    background-repeat:
        no-repeat,
        no-repeat !important;
    background-position: 
        0 0,
        0 0 !important;
    color: white !important;
}

.service-card:hover i {
    color: white;
}

.service-card:hover h3 {
    color: white;
}

.service-card:hover p {
    color: white;
}

.service-card i {
    font-size: 3rem;
    color: #4A4A4A;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2C2C2C;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}

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

/* About Section */
.about {
    padding: 80px 0;
}


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

.about-text h2 {
    font-size: 2.5rem;
    color: #B87333;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #CD7F32;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-weight: 500;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.feature-item i {
    font-size: 2rem;
    color: #CD7F32;
    margin-top: 0.5rem;
}

.feature-item h4 {
    color: #B87333;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #666;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    position: relative;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    cursor: pointer;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(184, 115, 51, 0.9) 0%, rgba(205, 127, 50, 0.9) 100%);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay p {
    margin: 0;
    font-weight: bold;
    text-align: center;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    max-height: 90vh;
    object-fit: contain;
    object-position: center center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #B87333;
}

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

.gallery-placeholder {
    background: white;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
}

.gallery-placeholder i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.gallery-placeholder p {
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

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

.contact-info h3 {
    font-size: 2rem;
    color: #B87333;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #CD7F32;
    margin-top: 0.5rem;
}

.contact-item h4 {
    color: #B87333;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

/* Checkbox styling */
.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
    accent-color: #B87333;
}

.checkbox-label:hover {
    color: #333;
}

/* Success page styling */
.success-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
}

.success-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.success-icon {
    margin-bottom: 2rem;
}

.success-icon i {
    font-size: 4rem;
    color: #28a745;
}

.success-content h1 {
    color: #B87333;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.success-content p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.success-actions {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.success-actions .btn {
    width: 100%;
    text-align: center;
}

.success-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.success-footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Contact form button styling */
.contact-form .btn-primary {
    background: linear-gradient(135deg, #B87333 0%, #CD7F32 100%);
    color: white;
    border: 2px solid #B87333;
}

.contact-form .btn-primary:hover {
    background: linear-gradient(135deg, #CD7F32 0%, #B87333 100%);
    color: white;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2C2C2C 0%, #1A1A1A 100%);
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

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

.social-links {
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #B87333;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #e55a2b;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a6ba7;
    color: #ccc;
}

/* Mobile Responsive */
/* Keep menu visible on tablets and medium screens */
@media (max-width: 900px) {
    .nav-menu li {
        margin-left: 1rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
    }
}

@media (max-width: 550px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: 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 li {
        margin: 1rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-container {
        justify-content: space-between;
        align-items: center;
        padding: 0 10px 0 15px;
    }

    .nav-toggle {
        margin-right: 10px;
    }

    .nav-logo {
        position: static;
        left: auto;
    }

    .nav-logo .logo {
        height: 45px;
        max-width: 180px;
        width: auto;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

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

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

    .about-stats {
        justify-content: center;
    }

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

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

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

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 40px;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%), 
                    linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .btn {
        display: block;
        margin: 10px auto;
        width: 200px;
    }

    .services,
    .about,
    .gallery,
    .contact {
        padding: 60px 0;
    }

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

    /* Fix blurry shingle background on mobile */
    .service-card.asphalt-shingles,
    .service-card:hover {
        background-size: 
            100% 100%,
            150px auto !important;
    }

    /* Fix service card text layout on mobile */
    .service-card {
        padding: 1.5rem;
        text-align: center;
        margin: 0 10px;
    }

    .service-card p {
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: left;
        margin: 0;
        width: 100%;
        padding: 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 10px;
    }

    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        text-align: center;
    }
}

/* Tablet and medium screen adjustments */
@media (max-width: 1024px) {
    .nav-logo .logo {
        height: 60px;
        max-width: 250px;
    }
}

@media (max-width: 900px) {
    .nav-logo .logo {
        height: 55px;
        max-width: 220px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
}

@media (max-width: 820px) {
    .nav-logo .logo {
        height: 50px;
        max-width: 200px;
    }
}

/* Success Page */
.success-page {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 70vh;
}

.success-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.success-icon {
    margin-bottom: 2rem;
}

.success-icon i {
    font-size: 4rem;
    color: #28a745;
    animation: checkmark 0.6s ease-in-out;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-content h1 {
    font-size: 3rem;
    color: #B87333;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.success-content h2 {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: normal;
}

.success-content > p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 3rem;
    line-height: 1.6;
}

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

.detail-item {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-2px);
}

.detail-item i {
    font-size: 2rem;
    color: #B87333;
    margin-right: 1rem;
    min-width: 40px;
}

.detail-item h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.detail-item p {
    color: #666;
    margin: 0;
}

.detail-item a {
    color: #B87333;
    text-decoration: none;
    font-weight: bold;
}

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

.success-actions {
    margin-bottom: 3rem;
}

.success-actions .btn {
    margin: 0 0.5rem;
}

.success-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.success-info h3 {
    color: #B87333;
    margin-bottom: 1rem;
    text-align: center;
}

.success-info ol {
    color: #555;
    line-height: 1.8;
    padding-left: 1.5rem;
}

.success-info li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .success-content h1 {
        font-size: 2.5rem;
    }
    
    .success-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .detail-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .detail-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .success-actions .btn {
        display: block;
        margin: 0.5rem auto;
        width: 200px;
    }
}

/* 404 Error Page */
.error-page {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 70vh;
}

.error-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.error-icon {
    margin-bottom: 2rem;
    position: relative;
}

.error-icon i {
    font-size: 3rem;
    color: #B87333;
}

.error-number {
    font-size: 6rem;
    font-weight: bold;
    color: #B87333;
    display: block;
    margin-top: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.error-content h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.error-content > p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-suggestions {
    margin-bottom: 3rem;
}

.error-suggestions h3 {
    color: #B87333;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

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

.suggestion-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.suggestion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    text-decoration: none;
}

.suggestion-card i {
    font-size: 2.5rem;
    color: #B87333;
    margin-bottom: 1rem;
}

.suggestion-card h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.suggestion-card p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.error-actions {
    margin-bottom: 3rem;
}

.error-actions .btn {
    margin: 0 0.5rem;
}

.error-emergency {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 700px;
    margin: 0 auto;
}

.emergency-notice {
    display: flex;
    align-items: flex-start;
    text-align: left;
}

.emergency-notice i {
    font-size: 2rem;
    color: #dc3545;
    margin-right: 1rem;
    margin-top: 0.2rem;
    min-width: 40px;
}

.emergency-notice h4 {
    color: #dc3545;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.emergency-notice p {
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.emergency-notice a {
    color: #B87333;
    text-decoration: none;
    font-weight: bold;
}

.emergency-notice a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .error-number {
        font-size: 4rem;
    }
    
    .error-content h1 {
        font-size: 2rem;
    }
    
    .suggestion-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .error-actions .btn {
        display: block;
        margin: 0.5rem auto;
        width: 250px;
    }
    
    .emergency-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .emergency-notice i {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}