/**
 * Gabriella Eleganza - Main Stylesheet
 * Main component and layout styles
 */

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 20px var(--shadow-hover);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.site-branding {
    display: flex;
    align-items: center;
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-height: 60px;
    width: auto;
    transition: var(--transition);
}

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: var(--dark-charcoal);
}

.site-title a {
    color: var(--dark-charcoal);
}

.site-description {
    font-size: 0.85rem;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* Navigation Menu */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
    margin: 0 15px;
}

.main-navigation a {
    display: block;
    padding: 10px 15px;
    color: var(--dark-charcoal);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: var(--primary-gold);
    position: relative;
}

.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--primary-gold);
}

/* Dropdown Menu */
.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 20px var(--shadow);
    min-width: 220px;
    padding: 10px 0;
    flex-direction: column;
}

.main-navigation li:hover > ul {
    display: flex;
}

.main-navigation ul ul li {
    margin: 0;
}

.main-navigation ul ul a {
    padding: 12px 20px;
    text-transform: none;
    font-size: 0.9rem;
}

.main-navigation ul ul a:hover {
    background: var(--light-gray);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: var(--primary-gold);
    border: none;
    color: var(--white);
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: var(--secondary-gold);
}

.menu-toggle i {
    pointer-events: none;
}

/* show on mobile */
@media (max-width: 1024px) {
    .menu-toggle {
	display: block;
    }
}
/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 90px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.7), rgba(212, 175, 55, 0.3));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary-gold);
    margin-bottom: 20px;
    animation: fadeIn 1s ease-out 0.3s both;
}

.hero-title {
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    animation: fadeIn 1s ease-out 0.6s both;
    color: #FFFFF !importnat;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0,8) !importnat;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--white);
    animation: fadeIn 1s ease-out 0.9s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 1.2s both;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.service-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.service-content {
    padding: 30px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-charcoal);
}

.service-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 25px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.feature-text p {
    margin: 0;
    font-size: 0.95rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

.about-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 3px solid var(--primary-gold);
    border-radius: 20px;
    top: -30px;
    right: -30px;
    z-index: -1;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 350px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.9), rgba(44, 44, 44, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-icon {
    color: var(--white);
    font-size: 3rem;
    transform: scale(0.5);
    transition: var(--transition);
}

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

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonials-section {
    background: linear-gradient(135deg, var(--dark-charcoal), #1a1a1a);
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-gold);
}

.testimonial-stars {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark-charcoal);
    font-weight: 700;
}

.author-info h5 {
    margin: 0 0 5px 0;
    color: var(--white);
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--primary-gold);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
    background: var(--light-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

.contact-info h3 {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.contact-details p {
    margin: 0;
    color: var(--text-light);
}

.contact-details a {
    color: var(--text-light);
}

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

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .btn {
    width: 100%;
    margin-top: 10px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--dark-charcoal);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 80px;
}

.footer-widgets-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget li {
    margin-bottom: 12px;
}

.footer-widget a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
}

.footer-widget a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-gold);
    color: var(--dark-charcoal);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: var(--primary-gold);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3rem;
    color: var(--dark-charcoal);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--dark-charcoal);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Page Content
   ========================================================================== */

.page-header {
    background: linear-gradient(135deg, var(--dark-charcoal), #1a1a1a);
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
    margin-top: 90px;
}

.page-header h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

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

.breadcrumbs span {
    color: rgba(255, 255, 255, 0.5);
}

.content-area {
    padding: 80px 0;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
}

.post-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 25px;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-content img {
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 5px 20px var(--shadow);
}

.post-content ul,
.post-content ol {
    list-style-position: inside;
    margin-bottom: 25px;
}

.post-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* ==========================================================================
   Blog Grid
   ========================================================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.post-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-meta i {
    color: var(--primary-gold);
}
