/* Color Scheme:
   Primary Orange: #ff6b35
   White: #ffffff
   Black: #1a1a1a
   Yellow Accent: #ffd93d
   Light Gray: #f5f5f5
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

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

/* Navigation */
.navbar {
    background-color:#eedede;
    background-image: url('background.png');
    background-size: cover;
    background-position: center 85%;
    background-attachment: fixed;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.logo-text h1 {
    color: #000000;
    font-size: 2rem;
    margin-bottom: 0;
}

.logo-text .tagline {
    color: #504f4f;
    font-size: 1rem;
    margin: 0;
}

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

.nav-links a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

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

.nav-links .cta-button {
    background-color: #ff6b35;
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    white-space: nowrap;
}

.nav-links .cta-button:hover {
    background-color: #e55a28;
    color: #ffffff;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ff6b35;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('background.png');
    background-size: cover;
    background-position: center 85%;
    background-attachment: fixed;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    color: #ffffff;
    font-weight: 600;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #ffffff;
    color: #1a1a1a;
}

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

.btn-secondary {
    background-color: #ffffff;
    color: #ff6b35;
    border: 2px solid #ff6b35;
}

.btn-secondary:hover {
    background-color: #ff6b35;
    color: #ffffff;
}

/* Services Section */
.services {
    padding: 4rem 0;
    background-color: #f4ebe7;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 3rem;
}

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

.service-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(255,107,53,0.2);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

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

.service-card h3 {
    color: #ff6b35;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.service-card .card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, margin-top 0.4s ease-out;
    margin-top: 0;
}

.service-card.expanded .card-details {
    max-height: 300px;
    margin-top: 1rem;
}

.service-card .card-details ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-card .card-details li {
    padding: 0.5rem 0;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

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

.service-card .card-details li:before {
    content: "✓ ";
    color: #ffd93d;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.gallery-section > .container > p {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.gallery-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.gallery-scroll {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 1rem 0;
    -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar */
.gallery-scroll::-webkit-scrollbar {
    height: 10px;
}

.gallery-scroll::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
    background: #ff6b35;
    border-radius: 10px;
}

.gallery-scroll::-webkit-scrollbar-thumb:hover {
    background: #e55a28;
}

.gallery-item {
    flex-shrink: 0;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 700px;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #ffffff;
    padding: 2rem 1.5rem 1rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    padding: 4rem 0;
    text-align: center;
    color: #ffffff;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Page Header */
.page-header {
    background-image: url('background.png');
    background-size: cover;
    background-position: center 85%;
    background-attachment: fixed;
    padding: 3rem 0;
    text-align: center;
    color: #ffffff;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
}

/* About Page */
.about-content {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text h2 {
    color: #ff6b35;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text h2:first-child {
    margin-top: 0;
}

.about-text p {
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.benefits-list li strong {
    color: #ff6b35;
}

.stats-card {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
    padding: 2rem;
    border-radius: 15px;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat {
    text-align: center;
}

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

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

.values-section {
    padding: 4rem 0;
    background-color: #f5f5f5;
}

.values-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

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

.value-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #ff6b35;
}

.value-card h3 {
    color: #ff6b35;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.value-card p {
    color: #666;
}

/* Contact Page */
.contact-content {
    padding: 4rem 0;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: #ff6b35;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-card a {
    color: #1a1a1a;
    text-decoration: none;
}

.contact-card a:hover {
    color: #ff6b35;
}

.small-text {
    font-size: 0.9rem;
    color: #666;
}

.quote-card {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
    color: #ffffff;
    grid-column: span 1;
}

.quote-card h3 {
    color: #ffffff;
}

.quote-card p {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.quote-card .btn-primary {
    margin-top: 1rem;
}

.map-section {
    padding: 4rem 0;
    background-color: #f5f5f5;
    text-align: center;
}

.map-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.map-section p {
    color: #666;
    margin-bottom: 2rem;
}

.map-placeholder {
    max-width: 400px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.sa-map {
    width: 100%;
    height: auto;
}

/* Quote Form */
.quote-form-section {
    padding: 4rem 0;
    background-color: #f5f5f5;
}

.form-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

.form-group textarea {
    resize: vertical;
}

.form-actions {
    margin-top: 1rem;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255,107,53,0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-info h3 {
    color: #ff6b35;
    margin-bottom: 1rem;
}

.process-list {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.process-list li {
    margin-bottom: 0.75rem;
    color: #333;
}

.help-box {
    background-color: #ff6b35;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.help-box p {
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.help-box p:last-child {
    margin-bottom: 0;
}

/* Success Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #ffffff;
    margin: 10% auto;
    padding: 3rem 2rem;
    border-radius: 15px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s;
    position: relative;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal-content h2 {
    color: #ff6b35;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-content p {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.modal-content strong {
    color: #ff6b35;
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    color: #999;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #333;
}

.modal-content .btn-primary {
    margin-top: 1rem;
    cursor: pointer;
}

.error-modal h2 {
    color: #d32f2f;
}

.error-modal strong {
    color: #d32f2f;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #ffffff;
    text-align: center;
    padding: 2rem 0;
}

footer p {
    margin: 0.5rem 0;
}

/* Responsive Design */

/* Tablet/iPad styles */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Remove navbar background on tablets since fixed backgrounds don't work well */
    .navbar {
        background-image: none;
        background-color: rgba(26, 26, 26, 0.95);
    }

    /* Show hamburger on tablets */
    .hamburger {
        display: flex;
    }

    .hamburger span {
        background-color: #ffffff;
    }

    /* Hamburger animation to X */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Hide nav links by default, show as slide-in menu */
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 50%;
        max-width: 400px;
        background-color: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 80px 30px 30px 30px;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        box-shadow: -2px 0 10px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a {
        font-size: 1.2rem;
        font-weight: 600;
        color: #ffffff;
        display: block;
        padding: 1rem 0;
    }

    .nav-links .cta-button {
        background-color: #ff6b35;
        color: #ffffff !important;
        margin-top: 1rem;
        text-align: center;
        border-radius: 5px;
        padding: 1rem;
    }

    .nav-links .cta-button:hover,
    .nav-links .cta-button.active {
        color: #ffffff !important;
    }

    .logo-text h1 {
        color: #ff6b35;
    }

    .logo-text .tagline {
        color: #ffffff;
    }

    .hero {
        background-size: cover;
        background-position: center 65%;
        background-attachment: scroll;
    }

    .page-header {
        background-size: cover;
        background-position: center 65%;
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    /* Remove navbar background on mobile since fixed backgrounds don't work */
    .navbar {
        background-image: none;
        background-color: rgba(26, 26, 26, 0.95);
    }

    .hero {
        background-size: cover;
        background-position: center 65%;
        background-attachment: scroll;
        min-height: 600px;
    }

    .page-header {
        background-size: cover;
        background-position: center 65%;
        background-attachment: scroll;
    }

    /* Reduce text sizes for mobile */
    .logo-text h1 {
        font-size: 1.3rem;
        color: #ffffff;
    }

    .logo-text .tagline {
        font-size: 0.7rem;
        color: #ffffff;
    }

    .logo-image {
        height: 50px;
    }

    /* Show hamburger on mobile */
    .hamburger {
        display: flex;
    }

    .hamburger span {
        background-color: #ffffff;
    }

    /* Hamburger animation to X */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Hide nav links by default, show as slide-in menu */
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 80px 20px 20px 20px;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        box-shadow: -2px 0 10px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a {
        font-size: 1.1rem;
        font-weight: 600;
        color: #ffffff;
        display: block;
        padding: 1rem 0;
    }

    .nav-links .cta-button {
        background-color: #ff6b35;
        color: #ffffff !important;
        margin-top: 1rem;
        text-align: center;
        border-radius: 5px;
        padding: 1rem;
    }

    .nav-links .cta-button:hover,
    .nav-links .cta-button.active {
        color: #ffffff !important;
    }

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

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

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .services h2,
    .values-section h2,
    .map-section h2 {
        font-size: 1.8rem;
    }

    .service-card h3,
    .contact-card h3 {
        font-size: 1.1rem;
    }

    .icon {
        font-size: 2.5rem;
    }

    .contact-icon {
        font-size: 2.5rem;
    }

    .service-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-grid,
    .contact-grid,
    .form-container {
        grid-template-columns: 1fr;
    }

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

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

    /* Gallery on mobile */
    .gallery-section h2 {
        font-size: 1.8rem;
    }

    .gallery-section {
        padding: 3rem 0;
    }

    .gallery-container {
        padding: 0;
    }

    .gallery-scroll {
        padding: 0;
        gap: 0;
        scroll-snap-type: x mandatory;
    }

    .gallery-item {
        width: 100vw;
        scroll-snap-align: start;
        border-radius: 0;
    }

    .gallery-item img {
        height: 300px;
    }

    .gallery-caption {
        font-size: 1rem;
        padding: 1.5rem 1rem 0.75rem 1rem;
    }

    /* Hide scrollbar on mobile for cleaner look */
    .gallery-scroll::-webkit-scrollbar {
        display: none;
    }
}
