/* Basic Reset & Defaults */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #333;
    --secondary-color: #f4f4f4;
    --accent-color: #007bff; /* Example accent color */
    --text-color: #333;
    --background-color: #fff;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --container-width: 1100px;
    --header-height: 60px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    padding-top: var(--header-height); /* Prevent content overlap with fixed header */
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block;
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
    text-decoration: none;
    color: #fff;
}

/* Header Styles */
header {
    background-color: var(--background-color);
    border-bottom: 1px solid var(--secondary-color);
    position: fixed; /* Keep header at the top */
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

header .logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}
header .logo a:hover {
    text-decoration: none;
}

header .nav-links {
    display: flex;
}

header .nav-links li {
    margin-left: 20px;
}

header .nav-links a {
    color: var(--primary-color);
    font-weight: 500;
}

header .nav-links a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

header .language-selector button {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 5px 10px;
    margin-left: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
}

header .language-selector button:hover,
header .language-selector button.active { /* Add class for active language */
    background-color: var(--primary-color);
    color: var(--background-color);
}

/* Main Content Area */
main {
    padding: 40px 0; /* Add padding below the fixed header */
}

/* Hero Slider Styles */
.hero-slider {
    width: 100%;
    /* Adjust height as needed, or make it responsive */
    height: 500px; /* Example fixed height */
    background-color: var(--secondary-color); /* Fallback background */
    position: relative; /* Needed for absolute positioning of caption */
    overflow: hidden; /* Recommended for Swiper */
}

.hero-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slider .swiper-slide img {
    /* Ensure image covers the slide area */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, may crop */
}

.hero-slider .slide-caption {
    position: relative; /* Sit on top of the image */
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: #fff;
    padding: 20px 40px;
    border-radius: 5px;
    max-width: 80%;
}

.hero-slider .slide-caption h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-slider .slide-caption p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Style Swiper navigation/pagination */
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    color: #fff; /* White arrows */
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    transition: background-color 0.3s ease;
}
.hero-slider .swiper-button-prev:after,
.hero-slider .swiper-button-next:after {
    font-size: 20px; /* Adjust arrow size */
    font-weight: bold;
}
.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-slider .swiper-pagination-bullet {
    background: #fff; /* White bullets */
    opacity: 0.7;
}

.hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent-color); /* Active bullet color */
}

/* Featured Artworks Section */
.featured-artworks {
    padding: 40px 20px;
    text-align: center;
}

.featured-artworks h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.artwork-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px;
    max-width: var(--container-width);
    margin: 0 auto; /* Center the grid */
}

.artwork-item {
    border: 1px solid var(--secondary-color);
    padding: 15px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}
.artwork-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.artwork-item img {
    margin-bottom: 10px;
    width: 100%; /* Make image fill container width */
    height: 200px; /* Fixed height for grid consistency */
    object-fit: cover; /* Cover the area */
}

.artwork-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}
.artwork-item a {
    text-decoration: none;
}
.artwork-item a:hover h3 {
    color: var(--accent-color);
}


/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    margin: 0;
}

/* Product Detail Page Specific Styles */
.product-detail-container {
    padding-top: 20px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 40px;
    margin-top: 30px;
}

.product-gallery img {
    width: 100%;
    border: 1px solid var(--secondary-color);
}
/* Add styles for thumbnails, video etc. if needed */

.product-info h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.product-info .description {
    margin-bottom: 30px;
}

.product-info .description h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--secondary-color);
    padding-bottom: 5px;
}

.paypal-button-container {
    margin-top: 30px;
}

/* Thank You / Cancel Page Styles */
.thank-you-container,
.cancel-container {
    text-align: center;
    padding: 50px 20px;
}

.thank-you-container h1,
.cancel-container h1 {
    margin-bottom: 20px;
}

.thank-you-container p,
.cancel-container p {
    margin-bottom: 15px;
    font-size: 1.1rem;
} 