@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Main Styles for Petra'Areej Website */

/* Global Styles */
:root {
    --font-primary: 'Cormorant Garamond', serif;
    --font-secondary: 'Montserrat', sans-serif;
}

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

html {
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-light);
    background-color: var(--secondary-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 400;
    margin-bottom: 1rem;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin: 2rem 0;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-gold);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--primary-gold);
    color: var(--primary-dark);
}

section {
    padding: 4rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--primary-dark);
    transition: background-color 0.3s ease;
}

.logo a {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--text-light);
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--text-light);
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

nav ul li a:hover {
    color: var(--primary-gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    animation: fadeIn 1s ease-in-out;
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeIn 1.5s ease-in-out;
}

.hero-content .btn {
    animation: fadeIn 2s ease-in-out;
}

/* Curated Collections Section */
.curated-collections {
    background-color: var(--secondary-light);
    color: var(--text-primary);
    padding: 5rem 0;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.collection-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collection-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

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

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

.collection-item .btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.collection-item:hover .btn {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

/* Discover Artwork Section */
.discover-artwork {
    background-color: var(--secondary-dark);
    padding: 5rem 0;
}

.filter-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group label {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

input[type="range"] {
    width: 100%;
    margin-bottom: 0.5rem;
    -webkit-appearance: none;
    height: 2px;
    background: var(--primary-gold);
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary-gold);
    cursor: pointer;
}

.price-value {
    display: block;
    text-align: right;
    font-size: 1.1rem;
    color: var(--primary-gold);
}

.size-options, .emotion-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.size-option, .emotion-option {
    padding: 0.8rem 1.5rem;
    background-color: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-option:hover, .emotion-option:hover,
.size-option.active, .emotion-option.active {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--primary-dark);
}

.filter-btn {
    margin-top: 1rem;
}

/* Philosophy Section */
.philosophy {
    background-color: var(--primary-dark);
    padding: 5rem 0;
    text-align: center;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.philosophy-content blockquote {
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.4;
    color: var(--primary-gold);
}

.philosophy-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Featured Artwork Section */
.featured-artwork {
    background-color: var(--secondary-light);
    color: var(--text-primary);
    padding: 5rem 0;
}

.artwork-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.artwork-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artwork-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

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

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

.artwork-item .btn {
    position: absolute;
    top: 250px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.artwork-item:hover .btn {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

.artwork-item h3 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.5rem;
}

.artwork-item p {
    padding: 0 1rem;
    color: var(--text-secondary);
}

.artwork-item .price {
    font-weight: bold;
    color: var(--primary-gold);
    padding-bottom: 1rem;
}

/* Exhibition History Section */
.exhibition-history {
    background-color: var(--secondary-dark);
    padding: 5rem 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--primary-gold);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-content {
    width: 45%;
    padding: 1.5rem;
    background-color: var(--primary-dark);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background-color: var(--primary-gold);
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -30px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -30px;
}

.timeline-date {
    font-size: 1.2rem;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

/* Contact Form Section */
.contact-form {
    background-color: var(--secondary-dark);
    padding: 5rem 0;
}

form {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 5px rgba(197, 164, 126, 0.5);
    outline: none;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

button[type="submit"] {
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #b08e6a;
}

/* Stay Updated Section */
.stay-updated {
    background-color: var(--primary-dark);
    padding: 5rem 0;
    text-align: center;
}

.stay-updated p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
}

.subscribe-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-form input {
    flex: 1;
    margin-right: 1rem;
}

.subscribe-form button {
    background-color: var(--primary-gold);
    color: var(--primary-dark);
}

/* Footer */
footer {
    background-color: #111;
    padding: 2rem 0;
    text-align: center;
}

footer p {
    font-size: 0.9rem;
    color: #888;
}

/* Page-specific styles */
.page-hero {
    height: 50vh;
    background-color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(42, 42, 42, 0.8), rgba(42, 42, 42, 0.8)), url('../images/artwork/AbstractFreedomMask-White.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

/* Parallax effect */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
