/* --- Global Reset (Add to the top of your file) --- */
img {
    max-width: 100%; /* Prevents any image from ever being wider than the screen */
    height: auto;    /* Maintains the image's original proportions */
}

/* --- Global Styles --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: "Sofia Sans Condensed", sans-serif; /* Your new font */
    font-optical-sizing: auto;
    font-weight: 400; /* Standard weight; change to 700 for bolder look */
    font-style: normal;
	font-size: 1.5rem;
    line-height: 1.6; 
    color: #a4f8d2; 
    overflow-x: hidden; 
    background-color: #000000; 
}

/* --- Parallax Background --- */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 150%; /* Height increased for negative parallax scroll room */
    background-image: url('images/gui/bg_02.JPG');
    background-size: cover;
    background-position: center;
    z-index: -1;
    will-change: transform;
}

.container { max-width: 1100px; margin: 0 auto; padding: 40px 20px; }
.section-title { 
    text-align: center; margin-bottom: 40px; text-transform: uppercase; 
    letter-spacing: 3px; text-shadow: 2px 2px 5px rgba(0,0,0,0.3); 
}

/* --- Logo Specific Styling --- */
.logo {
    display: block;    /* Changes it from an 'inline' item to a 'block' item */
    margin: 0 auto 20px; /* Centers it horizontally and adds space below */
    max-width: 90%;    /* Ensures it doesn't touch the very edges of the screen on mobile */
    height: auto;
}

/* --- Transparency Sections --- */
.main-header { background: transparent; text-align: center; padding: 120px 0px 0px 0px; }
.header-text { 
    max-width: 600px; margin: 0 auto 20px; font-size: 1.5rem; 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8); 
}
.social-links img { width: 32px; height: 32px; margin: 0 10px; border-radius: 0; opacity: 0.8;}

/* --- Gallery Grid --- */
.gallery-section.container {
padding-top: 10px;
padding-bottom: 50px;
}

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.gallery-item img { 
    display: block;
	width: 100%; height: 220px; object-fit: cover; cursor: pointer; 
    border: 0px solid rgba(255,255,255,0.2); transition: 0.3s; 
}
.gallery-item img:hover { transform: scale(1.03); border-color: #fff; }

/* --- Lightbox Modal --- */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); }
.modal-overlay { position: absolute; width: 100%; height: 100%; z-index: 2005; }
.close-button { position: absolute; top: 20px; right: 40px; color: #fff; font-size: 50px; cursor: pointer; z-index: 2100; text-shadow: 0 0 10px #000; }
.modal-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); color: #fff; border: none; font-size: 3rem; padding: 20px; cursor: pointer; z-index: 2100; transition: 0.3s; }
.modal-nav:hover { background: rgba(255,255,255,0.3); }
.modal-prev { left: 10px; }
.modal-next { right: 10px; }
.modal-content-wrapper { display: flex; justify-content: center; align-items: center; height: 100%; width: 100%; pointer-events: none; }
.modal-content { max-width: 80%; max-height: 85%; border: 0px solid #fff; pointer-events: auto; }

/* --- Carousel --- */
.carousel-container { position: relative; overflow: hidden; background: transparent; margin-top: 10px; }
.carousel-wrapper { position: relative; display: flex; align-items: center; }
.carousel { display: flex; overflow-x: hidden; scroll-behavior: smooth; width: 100%; }
.carousel-slide { min-width: 100%; height: 400px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; background-image: none !important; }
.carousel-content { padding: 30px; max-width: 900px; background: rgba(164,248,210,0.05); border-radius: 4px; backdrop-filter: blur(10px) grayscale(0.3) ; }
.nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.2); border: none; font-size: 2rem; padding: 10px; color: white; cursor: pointer; z-index: 10; }
/* Position the Testimonial Carousel arrows on opposite sides */
.nav-btn.prev {    left: 20px; }
.nav-btn.next {   right: 20px; }
.carousel-dots { text-align: center; padding: 15px; }
.dot { height: 12px; width: 12px; margin: 0 5px; background: rgba(255,255,255,0.3); border-radius: 50%; display: inline-block; cursor: pointer; }
.dot.active { background: #fff; }

/* Target the testimonial quote */
.carousel-content p {
	font-size: 1.5rem; /* Larger size for the statement */
    font-weight: 300;   /* Makes the quote bold to stand out */
	text-align: left;
    margin-bottom: 15px;
}

/* Target the person's name (the "who") */
.carousel-content span {
    display: block; /* This allows the span to accept vertical margins /*
	font-size: 1rem; /* Smaller size for the name */
    font-weight: 400;  /* Standard weight */
	font-size: 1rem;
    text-align: left;
	opacity: 0.8;      /* Slightly fades the name for visual hierarchy */
	margin-bottom: 30px;
}

.carousel-content span:last-of-type {
	margin-bottom: 0;
}

.testimonial-entry {
    /* Create a thin, semi-transparent line at the bottom */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Space between the author and the line */
    padding-bottom: 25px;
    
    /* Space between the line and the NEXT quote */
    margin-bottom: 25px;    
    text-align: center;
}

/* Remove the line and extra space from the very last testimonial */
.testimonial-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.testimonial-entry p {
    font-style: italic;
	text-align: center;
    margin-bottom: 8px; /* Space between quote and its author */
}

.testimonial-entry span {
    display: block;
    font-weight: bold;
    font-size: 1rem;
    color: #ccc;
	text-align: center;
}

/* --- Contact Form --- */
.contact-form { max-width: 600px; margin: 0 auto; background: rgba(164,248,210,0.05); backdrop-filter: blur(10px); padding: 40px; border: 0px solid rgba(255,255,255,0.2); border-radius: 4px;  }
.form-group { margin-bottom: 20px; }
input, textarea { width: 100%; padding: 12px; border: none; background: rgba(255,255,255,0.9); color: #333; margin-top: 5px; }
.send-btn { width: 100%; padding: 15px; background: #a4f8d2; color: #333; border: none; cursor: pointer; font-weight: bold; text-transform: uppercase; }

/* Reducing the bottom padding of the contact section */
.contact-section.container {
    padding-top: 0px;
	padding-bottom: 50px; 
}

/* --- Break Images --- */
.image-break {
    padding: 5px 0; /* Adds consistent spacing above and below the image */
    text-align: center;
}

.break-img {
    max-width: 100%;
    height: auto;
    display: block; /* Removes the "ghost whitespace" we discussed earlier */
    margin: 0 auto;
	opacity: 1;
}

.footer-image.container {
    padding-top: 40px; 
}

.outro-img {
    max-width: 50%;
    height: auto;
    display: block; /* Removes the "ghost whitespace" we discussed earlier */
    margin: 0 auto;
    border-radius: 4px; /* Optional: matches your carousel-content style */

}

/* --- Mobile Optimizations --- */
@media (max-width: 768px) {
    body {
        font-size: 1.1rem; /* Smaller base font for mobile */
    }

    .main-header {
        padding: 60px 20px 0;
    }

    .header-text {
        font-size: 1.2rem;
    }

.social-links {
        display: flex;            /* Enables flexbox */
        justify-content: center;  /* Centers the row of icons */
        gap: 30px;                /* Significant space between icons for thumbs */
        margin-top: 20px;
    }

    .social-links a {
        display: inline-block;    /* Makes the link wrapper easier to tap */
    }

    .social-links img {
        width: 40px;              /* Slightly larger icons for mobile */
        height: 40px;
        margin: 0;                /* Remove old margins so 'gap' takes over */
    }

    /* Gallery: 2 columns instead of trying to fit 220px items */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-item img {
        height: 180px; /* Slightly shorter items for mobile */
    }

    /* Carousel Adjustments */
    .carousel-slide {
        height: auto; /* Let content dictate height */
        min-height: 450px;
        padding: 40px 10px;
    }

    .carousel-content p {
        font-size: 1.1rem; /* Scale down the text size */
    }

    .nav-btn {
        padding: 8px;
        font-size: 1.5rem;
    }

    /* Modal/Lightbox: Use more of the screen */
    .modal-content {
        max-width: 95%;
        max-height: 80vh;
    }

    .modal-nav {
        padding: 10px;
        font-size: 2rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 20px;
        margin: 0 15px;
    }
    
    .outro-img {
        max-width: 80%; /* Make the world image larger on mobile */
    }
}

@media (max-width: 768px) {
    .parallax-bg {
        height: 100%; /* Reset height */
        transform: none !important; /* Force stop the JS movement */
        position: fixed;
    }
}