/* Base Styles */
:root {
   --primary-color: #e8c4c4;
   --secondary-color: #f5e8e8;
   --accent-color: #d4a5a5;
   --dark-color: #3a3a3a;
   --light-color: #f9f9f9;
   --text-color: #555;
   --heading-font: 'Playfair Display', serif;
   --body-font: 'Montserrat', sans-serif;
}

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



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

h1, h2, h3, h4, h5, h6 {
   font-family: var(--heading-font);
   color: var(--dark-color);
   font-weight: 700;
}

a {
   text-decoration: none;
   color: inherit;
}

ul {
   list-style: none;
}

img {
   max-width: 100%;
   height: auto;
}

.container {
   width: 90%;
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 15px;
}

.btn {
   display: inline-block;
   padding: 12px 30px;
   border-radius: 30px;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 1px;
   transition: all 0.3s ease;
   border: 2px solid transparent;
   cursor: pointer;
}

.btn-primary {
   background-color: var(--primary-color);
   color: white;
}

.btn-primary:hover {
   background-color: transparent;
   border-color: var(--primary-color);
   color: var(--primary-color);
}

.btn-secondary {
   background-color: var(--accent-color);
   color: white;
}

.btn-secondary:hover {
   background-color: transparent;
   border-color: var(--accent-color);
   color: var(--accent-color);
}

.btn-outline {
   background-color: transparent;
   border-color: var(--primary-color);
   color: var(--primary-color);
}

.btn-outline:hover {
   background-color: var(--primary-color);
   color: white;
}

.section-title {
   font-size: 2.5rem;
   margin-bottom: 15px;
   text-align: center;
   position: relative;
   padding-bottom: 15px;
}

.section-title span {
   color: var(--primary-color);
}

.section-title:after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 50%;
   transform: translateX(-50%);
   width: 80px;
   height: 3px;
   background-color: var(--primary-color);
}

.section-subtitle {
   font-size: 1.1rem;
   text-align: center;
   margin-bottom: 50px;
   color: var(--text-color);
}

.text-center {
   text-align: center;
}

/* Preloader */
.preloader {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: white;
   display: flex;
   justify-content: center;
   align-items: center;
   z-index: 9999;
   transition: opacity 0.5s ease;
}

.preloader .spinner {
   width: 50px;
   height: 50px;
   border: 5px solid var(--secondary-color);
   border-top-color: var(--primary-color);
   border-radius: 50%;
   animation: spin 1s linear infinite;
}

@keyframes spin {
   to {
       transform: rotate(360deg);
   }
}

/* Header */
.header {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   padding: 20px 0;
   z-index: 1000;
   transition: all 0.3s ease;
}

.header.scrolled {
   background-color: white;
   box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
   padding: 15px 0;
}

.header .container {
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.logo a {
   font-family: var(--heading-font);
   font-size: 1.8rem;
   font-weight: 700;
   color: var(--dark-color);
}

.logo span {
   color: var(--primary-color);
}

.main-nav ul {
   display: flex;
}

.main-nav li {
   margin-left: 30px;
}

.main-nav a {
   font-weight: 600;
   position: relative;
   padding: 5px 0;
   transition: color 0.3s ease;
}

.main-nav a:after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 0;
   height: 2px;
   background-color: var(--primary-color);
   transition: width 0.3s ease;
}

.main-nav a:hover:after {
   width: 100%;
}

.mobile-menu-btn {
   display: none;
   width: 30px;
   height: 20px;
   flex-direction: column;
   justify-content: space-between;
   cursor: pointer;
}

.mobile-menu-btn span {
   display: block;
   width: 100%;
   height: 2px;
   background-color: var(--dark-color);
   transition: all 0.3s ease;
}

/* Hero Section */
.hero {
   height: 100vh;
   min-height: 700px;
   background: url('../images/hero-bg.jpg') no-repeat left center/cover;
   display: flex;
   align-items: center;
   position: relative;
   color: white;
}

.hero-overlay {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.4);
}

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

.hero h1 {
   font-size: 4rem;
   margin-bottom: 20px;
   color: white;
}

.hero h1 span {
   color: var(--primary-color);
}

.hero p {
   font-size: 1.2rem;
   margin-bottom: 30px;
}

.scroll-down {
   position: absolute;
   bottom: 30px;
   left: 50%;
   transform: translateX(-50%);
   z-index: 1;
   animation: bounce 2s infinite;
}

.scroll-down a {
   color: white;
   font-size: 1.5rem;
}

@keyframes bounce {
   0%, 20%, 50%, 80%, 100% {
       transform: translateY(0) translateX(-50%);
   }
   40% {
       transform: translateY(-20px) translateX(-50%);
   }
   60% {
       transform: translateY(-10px) translateX(-50%);
   }
}

/* About Section */
.about-section {
   padding: 100px 0;
   background-color: white;
}

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

.about-img {
   position: relative;
   border-radius: 10px;
   overflow: hidden;
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-img img {
   width: 100%;
   height: auto;
   display: block;
}

.about-content h2 {
   font-size: 2.5rem;
   margin-bottom: 20px;
}

.about-content h2 span {
   color: var(--primary-color);
}

.about-content .intro {
   font-style: italic;
   margin-bottom: 20px;
   position: relative;
   padding-left: 30px;
}

.about-content .intro:before {
   content: '"';
   position: absolute;
   left: 0;
   top: -10px;
   font-size: 3rem;
   color: var(--primary-color);
   line-height: 1;
}

.about-content p {
   margin-bottom: 15px;
}

.signature {
   margin-top: 30px;
}

.signature p {
   font-style: italic;
   margin-bottom: 5px;
}

.signature img {
   max-width: 150px;
}

/* Portfolio Section */
.portfolio-section {
   padding: 100px 0;
   background-color: var(--secondary-color);
}

.portfolio-filter {
   display: flex;
   justify-content: center;
   margin-bottom: 40px;
   flex-wrap: wrap;
}

.filter-btn {
   padding: 8px 20px;
   margin: 0 10px 10px 0;
   background-color: transparent;
   border: 1px solid var(--primary-color);
   color: var(--primary-color);
   border-radius: 30px;
   cursor: pointer;
   transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
   background-color: var(--primary-color);
   color: white;
}

.portfolio-grid {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
   gap: 30px;
   margin-bottom: 40px;
}

.portfolio-item {
   position: relative;
   border-radius: 10px;
   overflow: hidden;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
   transition: transform 0.3s ease;
}

.portfolio-item:hover {
   transform: translateY(-10px);
}

.portfolio-img {
   position: relative;
   overflow: hidden;
}

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

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

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

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

.portfolio-overlay a {
   color: white;
   font-size: 2rem;
   margin: 0 10px;
   transition: transform 0.3s ease;
}

.portfolio-overlay a:hover {
   transform: scale(1.2);
}

/* Offer Section */
.offer-section {
   padding: 100px 0;
   background-color: white;
}

.offer-cards {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 30px;
   margin-bottom: 50px;
}

.offer-card {
   background-color: white;
   border-radius: 10px;
   overflow: hidden;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
   transition: transform 0.3s ease;
   border: 1px solid #eee;
}

.offer-card:hover {
   transform: translateY(-10px);
}

.offer-card.featured {
   transform: scale(1.05);
   position: relative;
   border: 1px solid var(--primary-color);
}

.offer-card.featured:hover {
   transform: scale(1.05) translateY(-10px);
}

.offer-card.featured .card-header {
   background-color: var(--primary-color);
   color: white;
}

.offer-card.featured .price {
   color: white;
}

.card-header {
   padding: 20px;
   background-color: var(--secondary-color);
   text-align: center;
}

.card-header h3 {
   font-size: 1.5rem;
   margin-bottom: 10px;
}

.price {
   font-size: 2rem;
   font-weight: 700;
   color: var(--primary-color);
}

.card-body {
   padding: 30px;
}

.card-body ul {
   margin-bottom: 30px;
}

.card-body li {
   margin-bottom: 10px;
   display: flex;
   align-items: center;
}

.card-body li i {
   margin-right: 10px;
   color: var(--primary-color);
}

.offer-notes {
   max-width: 800px;
   margin: 0 auto;
   text-align: center;
   font-style: italic;
   color: var(--text-color);
}

/* Testimonials Section */
.testimonials-section {
   padding: 100px 0;
   background-color: var(--secondary-color);
}

.testimonials-slider {
   max-width: 800px;
   margin: 0 auto;
}

.testimonial {
   background-color: white;
   padding: 30px;
   border-radius: 10px;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
   margin: 0 15px;
   text-align: center;
}

.testimonial-content {
   margin-bottom: 20px;
   font-style: italic;
   position: relative;
}

.testimonial-content:before, .testimonial-content:after {
   content: '"';
   font-size: 3rem;
   color: var(--primary-color);
   opacity: 0.3;
   line-height: 1;
}

.testimonial-content:before {
   position: absolute;
   top: -15px;
   left: -10px;
}

.testimonial-content:after {
   position: absolute;
   bottom: -40px;
   right: -10px;
}

.testimonial-author h4 {
   font-size: 1.2rem;
   margin-bottom: 5px;
}

.testimonial-author p {
   color: var(--text-color);
   font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
   padding: 100px 0;
   background-color: white;
}

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

.contact-info {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 30px;
}

.info-item {
   padding: 30px;
   background-color: var(--secondary-color);
   border-radius: 10px;
   text-align: center;
   transition: transform 0.3s ease;
}

.info-item:hover {
   transform: translateY(-10px);
}

.info-item i {
   font-size: 2rem;
   color: var(--primary-color);
   margin-bottom: 15px;
}

.info-item h4 {
   margin-bottom: 10px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
   width: 100%;
   padding: 12px 15px;
   border: 1px solid #ddd;
   border-radius: 5px;
   font-family: var(--body-font);
   transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
   outline: none;
   border-color: var(--primary-color);
   box-shadow: 0 0 0 3px rgba(232, 196, 196, 0.3);
}

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

/* Footer */
.footer {
   background-color: var(--dark-color);
   color: white;
   padding: 80px 0 20px;
}

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

.footer-about h3 {
   font-size: 1.8rem;
   margin-bottom: 20px;
   color: white;
}

.footer-about span {
   color: var(--primary-color);
}

.footer-about p {
   margin-bottom: 20px;
}

.social-links {
   display: flex;
}

.social-links a {
   display: flex;
   justify-content: center;
   align-items: center;
   width: 40px;
   height: 40px;
   background-color: rgba(255, 255, 255, 0.1);
   border-radius: 50%;
   margin-right: 10px;
   transition: all 0.3s ease;
}

.social-links a:hover {
   background-color: var(--primary-color);
   transform: translateY(-5px);
}

.footer-links h3, .footer-contact h3 {
   font-size: 1.3rem;
   margin-bottom: 20px;
   color: white;
}

.footer-links li {
   margin-bottom: 10px;
}

.footer-links a {
   transition: color 0.3s ease;
}

.footer-links a:hover {
   color: var(--primary-color);
}

.footer-contact li {
   margin-bottom: 15px;
   display: flex;
   align-items: flex-start;
}

.footer-contact i {
   margin-right: 10px;
   color: var(--primary-color);
}

.footer-bottom {
   text-align: center;
   padding-top: 20px;
   border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Back to Top Button */
.back-to-top {
   position: fixed;
   bottom: 30px;
   right: 30px;
   width: 50px;
   height: 50px;
   background-color: var(--primary-color);
   color: white;
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   font-size: 1.2rem;
   z-index: 999;
   opacity: 0;
   visibility: hidden;
   transition: all 0.3s ease;
}

.back-to-top.active {
   opacity: 1;
   visibility: visible;
}

.back-to-top:hover {
   background-color: var(--accent-color);
   transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
   .about-grid {
       grid-template-columns: 1fr;
   }
   
   .about-img {
       max-width: 600px;
       margin: 0 auto;
   }
   
   .contact-grid {
       grid-template-columns: 1fr;
   }
   
   .contact-info {
       grid-template-columns: 1fr;
   }
}

@media (max-width: 768px) {
   .mobile-menu-btn {
       display: flex;
   }
   
   .main-nav {
       position: fixed;
       top: 80px;
       left: 0;
       width: 100%;
       background-color: white;
       padding: 20px;
       box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
       transform: translateY(-150%);
       opacity: 0;
       transition: all 0.3s ease;
   }
   
   .main-nav.active {
       transform: translateY(0);
       opacity: 1;
   }
   
   .main-nav ul {
       flex-direction: column;
   }
   
   .main-nav li {
       margin: 0 0 15px 0;
   }
   
   .hero h1 {
       font-size: 3rem;
   }
   
   .section-title {
       font-size: 2rem;
   }
   
   .offer-cards {
       grid-template-columns: 1fr;
   }
   
   .offer-card.featured {
       transform: scale(1);
   }
   
   .offer-card.featured:hover {
       transform: scale(1) translateY(-10px);
   }
}

@media (max-width: 576px) {
   .hero h1 {
       font-size: 2.5rem;
   }
   
   .hero p {
       font-size: 1rem;
   }
   
   .btn {
       padding: 10px 20px;
       font-size: 0.9rem;
   }
   
   .section-title {
       font-size: 1.8rem;
   }
   
   .portfolio-filter {
       justify-content: flex-start;
   }
   
   .filter-btn {
       padding: 6px 15px;
       font-size: 0.9rem;
   }
}