/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo {
    display: flex;
    align-items: center;
}

.profile-pic {
    width: 100px; /* or whatever size you prefer */
    height: auto; /* maintains aspect ratio */
}

#profile-image {
    width: 100px !important;
    height: auto;
}

#logo-img {
    height: 50px;
    display: flex; /* Will display when you add your logo */
}

#text-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: #3498db;
}

nav ul li a.active {
    color: #3498db;
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #3498db;
    bottom: -5px;
    left: 0;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Introduction Section */
.intro {
    padding: 80px 0;
    background-color: #fff;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.intro-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.intro-image {
    flex: 1;
}

.intro-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 15px;
}

.btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Gallery Preview Section */
.gallery-preview {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.gallery-preview h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.gallery-preview > p {
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1000px;
    padding: 0 15px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 300px;
    height: 200px;
    margin: 0 15px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.carousel-slide:hover img {
    transform: scale(1.05);
}

.gallery-link {
    margin-top: 40px;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-info p {
    margin-bottom: 5px;
    color: #ecf0f1;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: inline-block;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-social a:hover {
    background-color: #3498db;
    transform: translateY(-3px);
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 992px) {
    .intro-content {
        flex-direction: column;
    }
    
    .intro-text, .intro-image {
        width: 100%;
    }
    
    .carousel-slide {
        min-width: 250px;
        height: 170px;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        padding: 10px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-social {
        margin-top: 20px;
    }
    
    .carousel-slide {
        min-width: calc(100% - 30px);
        height: 200px;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 300px !important;
    width: 100% !important;
    max-width: 100% !important;
}

.gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Fix for buttons appearing in the middle */
.buy-button, a .buy-button {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    background: rgba(0,0,0,0.6) !important;
    color: white !important;
    border: none !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    z-index: 100 !important; /* Very high z-index to ensure it's on top */
}

/* Ensure all gallery items have the same layout */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 20px;
    padding: 20px;
}