/* website/static/website/css/style.css */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: transparent; /* The nav has the background now */
    color: inherit;
    padding: 0;
    text-align: left;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}
main {
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Footer Styling */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto 30px;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-section h3 {
    color: #1abc9c;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.footer-section p,
.footer-section ul {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #bdc3c7;
}

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

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

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

.social-links a {
    color: #ecf0f1;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #1abc9c;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info i {
    margin-right: 10px;
    color: #1abc9c;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #34495e;
    padding-top: 20px;
    font-size: 0.85rem;
    color: #7f8c8d;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        min-width: unset;
        width: 100%;
    }

    .social-links {
        margin-top: 15px;
    }
}

/* Styling for Testimonials Section */
.testimonials-section {
    background-color: #f8f8f8; /* Light background to contrast with hero */
    color: #333;
    padding: 60px 20px;
    text-align: center;
}

.testimonials-section .section-title {
    color: #2c3e50;
}

.testimonial-item {
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.testimonial-item blockquote {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-item cite {
    display: block;
    font-weight: bold;
    font-style: normal;
    color: #1abc9c;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .testimonial-item {
        padding: 20px;
    }

    .testimonial-item blockquote {
        font-size: 1.1rem;
    }
}

 /* Styling for the new Featured Work section on homepage */
.featured-work-section {
    padding: 40px 20px;
    background-color: #f4f4f4; /* A slightly different background to separate it */
    text-align: center;
}

.featured-work-section h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 40px;
}

.view-all-container {
    margin-top: 40px;
}

.navbar {
    background-color: #2c3e50; /* Same as header, or a bit darker like #233140 */
    padding: 0.5rem 1rem;
    border-bottom: 3px solid #1abc9c; /* A nice accent color */
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.navbar-brand {
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.navbar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar-nav li {
    margin-left: 20px;
}

.navbar-nav a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1rem;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.navbar-nav a:hover {
    background-color: #34495e;
}

/* Hero Section */
.hero-section {
    /* Make sure to replace 'hero-background.jpg' with your actual image file name */
    background-image: url('/media/images/hero-background.png');
    background-size: cover; /* Covers the entire div */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat;
    min-height: 80vh; /* Sets the height to 80% of the viewport height */
    display: flex; /* Using flexbox to center content */
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center */
    text-align: center;
    color: white; /* Assuming you want light text on a dark image */
    padding: 0 20px;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.5); /* Adds a semi-transparent dark overlay to make text readable */
    padding: 40px;
    border-radius: 10px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}

.cta-button:hover {
    background-color: #16a085;
}

.info-section {
    padding: 20px;
    max-width: 800px;
    margin: 40px auto; /* Added more top margin */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}
/* Styling for the new Contact Page */
.page-header {
    text-align: center;
    padding: 40px 20px;
    background-color: #f4f4f4;
    border-bottom: 1px solid #ddd;
}

.form-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Enhanced Form Styling */
.form-container p { /* Target the <p> tags generated by form.as_p */
    margin-bottom: 15px; /* Add spacing between form fields */
}

.form-container label {
    display: block; /* Ensure labels are on their own line */
    margin-bottom: 8px; /* Space between label and input */
    font-weight: bold;
    color: #555;
    font-size: 0.95rem;
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="phone"],
.form-container textarea {
    width: 100%;
    padding: 12px 15px; /* More padding for better feel */
    border: 1px solid #ddd; /* Lighter, more subtle border */
    border-radius: 8px; /* Slightly more rounded corners */
    font-size: 1rem;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions for focus */
    background-color: #fdfdfd; /* Slightly off-white background */
}

.form-container input[type="text"]:focus,
.form-container input[type="email"]:focus,
.form-container input[type="phone"]:focus,
.form-container textarea:focus {
    border-color: #1abc9c; /* Accent color on focus */
    box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.2); /* Subtle glow on focus */
    outline: none; /* Remove default outline */
}

/* Styling for reCAPTCHA */
.g-recaptcha {
    margin-bottom: 20px; /* Space below the reCAPTCHA widget */
}

/* Error message styling (if form.as_p renders them) */
.errorlist {
    color: #e74c3c; /* Red for errors */
    list-style-type: none;
    padding: 0;
    margin-top: 5px;
    font-size: 0.9rem;
}

/* Styling for the new Portfolio Page */css
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.project-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden; /* Ensures the image corners are rounded */
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 660px; /* Or a height that looks best */
    object-fit: cover; /* This will crop images to fit, maintaining aspect ratio */
}

.view-all-container {
    text-align: center;
    margin-top: 40px;
}

.project-card .card-content {
    padding: 20px;
}

.project-card h3 {
    margin-top: 0;
    color: #2c3e50;
}

.project-card .project-date {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
}

/* Styling for the new Project Detail Page */
.project-detail-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.project-detail-title {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 5px;
}

.project-detail-date {
    text-align: center;
    color: #777;
    margin-top: 0;
    margin-bottom: 30px;
}

.project-detail-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
}

.project-detail-description {
    line-height: 1.8;
    color: #333;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: #1abc9c;
    text-decoration: none;
    font-weight: bold;
}

.back-link:hover {
    text-decoration: underline;
}

/* Styling for the new Image Gallery */
.gallery-container {
    margin-bottom: 30px;
}

.main-image-container {
    display: flex;
    justify-content: center; /* This centers the image horizontally */
    margin-bottom: 15px;
}

.main-image-container img {
    width: 100%;
    height: auto;
    max-height: 650px; /* Increased from 550px to make it bigger */
    object-fit: contain; /* Use 'contain' to ensure the whole image is visible */
    border-radius: 8px;
}
.thumbnail-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.thumbnail {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail:hover {
    border-color: #1abc9c;
}


/* Make the project cards on the portfolio page links */
.project-card-link {
    text-decoration: none;
    color: inherit;
}

/* Styling for the new Services Page */
.services-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.service-item {
    background: #fff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    border-left: 5px solid #1abc9c; /* Accent border */
}

.service-item h3 {
    margin-top: 0;
    color: #2c3e50;
}

/* General Section Styling */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 50px;
}

/* Grid and Card Styling */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Force three columns */
    gap: 30px;
}

@media (max-width: 992px) { /* Adjust breakpoint as needed */
    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* Two columns on medium screens */
    }
}

@media (max-width: 768px) { /* Adjust breakpoint as needed */
    .grid-container {
        grid-template-columns: 1fr; /* Single column on small screens */
    }
}

.container-wide {
    max-width: 1200px; /* Or whatever width looks good for three columns */
    margin: 0 auto; /* Center the container */
    padding: 0 20px; /* Add some padding on the sides */
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card-icon {
    font-size: 3rem;
    color: #1abc9c; /* Main accent color */
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}


/* Styling for Testimonials Section */
.testimonials-section {
    background-color: #2c3e50; /* A dark background makes it stand out */
    color: #ecf0f1;
    padding: 60px 20px;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.testimonial-item blockquote {
    font-size: 1.25rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 20px auto;
    border: none;
    padding: 0;
}

.testimonial-item cite {
    font-weight: bold;
    font-style: normal;
    color: #1abc9c;
}

@media screen and (max-width: 768px) {
.hero-section h1 {
    font-size: 2.5rem;
}

h1, h2 {
    font-size: 2.2rem;
}

.navbar-nav {
    display: none; /* Hide the nav links by default */
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px; /* Position it below the navbar */
    left: 0;
    background-color: #2c3e50;
    text-align: center;
}

/* This class will be added by JavaScript to show the menu */
.navbar-nav.active {
    display: flex;
}

.navbar-nav li {
    margin: 15px 0; /* Adjust spacing for vertical layout */
}

.menu-toggle {
    display: block; /* Show the hamburger icon */
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hide the hamburger icon on desktop screens */
.menu-toggle {
    display: none;
}
}

/* Also add this rule OUTSIDE the media query */
.menu-toggle {
    display: none;
}   























