/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

html, body {
    max-width: 100%;
    overflow-x: hidden; /* This fixes the horizontal scroll issue */
    /* Hide scrollbar for all browsers */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

body{
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    width: 100%;
    position: relative;
    /* Hide scrollbar but keep functionality */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* CONTAINER */
.container{
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
    width: 100%;
}

/* HEADER */
header{
    height:100vh;
    position:relative;
    overflow:hidden;
    background: url('./img/hero.webp') no-repeat center center/cover;
}

/* Optional: better overlay for readability */
header:after{
    content:'';
    position:absolute;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.5); /* darker overlay */
    top:0;
    left:0;
}

/* LOGO */
.logo img{
    height: 100px;
    width: auto;
    position: relative;
    z-index: 102;
}

/* HERO */
.hero-center{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 30;
    padding: 0 20px;
}

.hero-subtitle{
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f3f584;
    margin: 0.5rem 0;
}

.big-title{
    font-size: 5rem;
    line-height: 1.2;
    margin: 0.5rem 0;
    color: #fff;
}

.big-title span{
    color: #E6B422;
}

/* Typing animation styles */
.typing-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: rgb(255, 255, 255);
    margin: 1rem 0;
    min-height: 2.5rem;
    position: relative;
    z-index: 30;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* SECTION STYLES */
section{
    width: 100%;
    position: relative;
    padding: 5rem 0;
}

#about {
    background-color: #000000df;
}

/* Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

.section-border {
    width: 80px;
    height: 4px;
    background-color: #E6B422;
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

/* ABOUT SECTION */
#about .container{
    padding: 3rem 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

#about img{
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#about .container > *{
    margin: 2rem;
}

.content{
    color: #ffffff;
    transform: translateY(-50px);
}

.imgContainer{
    transform: translateY(50px);
}

.title{
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: .5rem;
    position: relative;
}

.border{
    position: absolute;
    width: 0%;
    height: 3px;
    background-color: #fff;
    bottom: 0;
    left: 0;
    transition: width 0.5s ease;
}

.text{
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.shadow{
    position: absolute;
    bottom: 100%;
    height: 300px;
    width: 100%;
    left: 0;
    z-index: 20;
    background: linear-gradient(to top, #151515, transparent);
}

.opacity{
    opacity: 0;
}

/* VISION & MISSION SECTION */
.vision-mission-section {
    background-color: #000000df;
}

.vision-mission-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.vision-mission-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.vision-mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.vision-mission-icon {
    font-size: 3rem;
    color: #E6B422;
    margin-bottom: 1.5rem;
}

.vision-mission-title {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.vision-mission-text {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* GALLERY SECTION */
.gallery-section {
    background-color: #000000df;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(230, 180, 34, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: white;
}

/* Full Gallery Modal - Hide scrollbar */
.full-gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1100;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: hidden;
}

.full-gallery-content {
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background-color: #2c3e50;
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    color: white;
    /* Hide scrollbar but keep scrolling */
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.full-gallery-content::-webkit-scrollbar {
    display: none;
}

.close-full-gallery {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    color: #E6B422;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1101;
    background-color: rgba(44, 62, 80, 0.9);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-full-gallery:hover {
    color: #fff;
    background-color: #E6B422;
}

.full-gallery-content h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #E6B422;
}

.full-gallery-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
}

.full-gallery-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
}

.full-gallery-container img.active {
    display: block;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    gap: 2rem;
}

.gallery-controls button {
    background-color: #E6B422;
    color: #2c3e50;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-controls button:hover {
    background-color: #d4a017;
}

#imageCounter {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    min-width: 80px;
    text-align: center;
}

.gallery-btn-container {
    text-align: center;
    margin-top: 3rem;
}

.gallery-btn {
    padding: 15px 40px;
    background-color: #E6B422;
    color: #2c3e50;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.gallery-btn:hover {
    background-color: #d4a017;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* CONTACT SECTION - UPDATED FOR MOBILE */
.contact-section {
    background-color: #000000df;
    padding: 4rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    order: 2; /* Change order for mobile */
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.contact-icon {
    background-color: #E6B422;
    color: #2c3e50;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.3rem;
    font-size: 1rem;
    line-height: 1.5;
}

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

/* FOOTER */
.footer {
    background-color: #000000e8;
    padding: 3rem 0 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-logo img {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}


.footer-social h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #E6B422;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* OWNER PROFILE - HERO */
.owner-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
    z-index: 30;
    position: relative;
}

.owner-profile img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #E6B422;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    margin-bottom: 0.5rem;
}

.owner-name {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.owner-role {
    color: #E6B422;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 600px) {
    .owner-profile img {
        width: 70px;
        height: 70px;
    }

    .owner-name {
        font-size: 0.9rem;
    }
}

/* RESPONSIVE STYLES */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .gallery-title {
        font-size: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 850px) {
    section .container{
        padding: 2rem 20px;
    }
    
    #about .container {
        grid-template-columns: 1fr;
        padding: 2rem 20px;
    }
    
    /* Typing text responsive */
    .typing-text {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1rem;
    }
    
    .gallery-item-page {
        height: 250px;
    }

    #fullscreenImage {
        height: 50vh;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 2.5rem 0;
    }
    
    .contact-container {
        gap: 2rem;
    }
    
    .contact-item {
        padding: 1rem;
        gap: 1.2rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .contact-details h4 {
        font-size: 1.2rem;
    }
    
    .contact-details p {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .big-title{
        font-size: 3rem;
    }

    .text{
        font-size: .9rem;
    }

    .title{
        font-size: 1.5rem;
    }

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

    .logo img{
        height: 40px;
    }
    
    .typing-text {
        font-size: 1.3rem;
        min-height: 2.2rem;
    }
    
    .vision-mission-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 2rem 0;
    }
    
    .contact-container {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .contact-info {
        gap: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.2rem;
    }
    
    .contact-icon {
        align-self: flex-start;
    }
    
    .contact-details h4 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Better spacing for contact items on very small screens */
    .contact-item:nth-child(1) .contact-details p,
    .contact-item:nth-child(2) .contact-details p,
    .contact-item:nth-child(3) .contact-details p,
    .contact-item:nth-child(4) .contact-details p {
        margin-bottom: 0.2rem;
    }
}

@media (max-width: 480px) {
    .typing-text {
        font-size: 1.1rem;
        min-height: 2rem;
    }
    
    .vision-mission-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .big-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 400px) {
    .contact-section {
        padding: 1.5rem 0;
    }
    
    .contact-form {
        padding: 1.2rem;
    }
    
    .contact-form h3 {
        font-size: 1.3rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .contact-details h4 {
        font-size: 1rem;
    }
    
    .contact-details p {
        font-size: 0.85rem;
    }
    
    /* Stack contact info vertically for very small screens */
    .contact-info {
        display: flex;
        flex-direction: column;
    }
}
/* Ensure contact info items don't get too wide on large screens */
@media(min-width: 1200px) {
    .contact-container {
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-info {
        max-width: 500px;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Footer Contact Info */
.footer-contact {
    margin-top: 1.5rem;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-contact i {
    color: #E6B422;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom a {
    color: #E6B422;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* FLOATING ROUND SAVE BUTTON */
.save-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1200;

    width: 60px;
    height: 60px;
    border-radius: 50%;

    border: none;
    cursor: pointer;

    background: linear-gradient(135deg, #E6B422, #d4a017);
    color: #2c3e50;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.4rem;

    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

/* Icon styling */
.save-btn i {
    pointer-events: none;
}

/* Hidden text */
.save-btn::after {
    content: "Save Contact";
    position: absolute;
    left: 70px;
    opacity: 0;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    transition: opacity 0.3s ease, left 0.3s ease;
}

/* Hover expand */
.save-btn:hover {
    width: 170px;
    border-radius: 40px;
    justify-content: flex-start;
    padding-left: 18px;
}

/* Show text on hover */
.save-btn:hover::after {
    opacity: 1;
    left: 75px;
}

/* Click effect */
.save-btn:active {
    transform: scale(0.95);
}

/* Mobile fix */
@media (max-width: 600px) {
    .save-btn:hover {
        width: 60px;
        padding-left: 0;
    }

    .save-btn::after {
        display: none;
    }
}