@font-face {
    font-family: 'TT Drugs Condensed';
    src: url('./fonts/TTDrugsCondensed-Bold.woff2') format('woff2'),
        url('./fonts/TTDrugsCondensed-Bold.woff') format('woff'),
        url('./fonts/TTDrugsCondensed-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Drugs Condensed';
    src: url('./fonts/TTDrugsCondensed-BoldItalic.woff2') format('woff2'),
        url('./fonts/TTDrugsCondensed-BoldItalic.woff') format('woff'),
        url('./fonts/TTDrugsCondensed-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Drugs Condensed';
    src: url('./fonts/TTDrugsCondensed-Black.woff2') format('woff2'),
        url('./fonts/TTDrugsCondensed-Black.woff') format('woff'),
        url('./fonts/TTDrugsCondensed-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Drugs Condensed';
    src: url('./fonts/TTDrugsCondensed-LightItalic.woff2') format('woff2'),
        url('./fonts/TTDrugsCondensed-LightItalic.woff') format('woff'),
        url('./fonts/TTDrugsCondensed-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Drugs Condensed';
    src: url('./fonts/TTDrugsCondensed-Light.woff2') format('woff2'),
        url('./fonts/TTDrugsCondensed-Light.woff') format('woff'),
        url('./fonts/TTDrugsCondensed-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Drugs Condensed';
    src: url('./fonts/TTDrugsCondensed-ThinItalic.woff2') format('woff2'),
        url('./fonts/TTDrugsCondensed-ThinItalic.woff') format('woff'),
        url('./fonts/TTDrugsCondensed-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Drugs Condensed';
    src: url('./fonts/TTDrugsCondensed-Regular.woff2') format('woff2'),
        url('./fonts/TTDrugsCondensed-Regular.woff') format('woff'),
        url('./fonts/TTDrugsCondensed-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Drugs Condensed';
    src: url('./fonts/TTDrugsCondensed-Thin.woff2') format('woff2'),
        url('./fonts/TTDrugsCondensed-Thin.woff') format('woff'),
        url('./fonts/TTDrugsCondensed-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Drugs';
    src: url('./fonts/TTDrugs-Italic.woff2') format('woff2'),
        url('./fonts/TTDrugs-Italic.woff') format('woff'),
        url('./fonts/TTDrugs-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Drugs';
    src: url('./fonts/TTDrugs-LightItalic.woff2') format('woff2'),
        url('./fonts/TTDrugs-LightItalic.woff') format('woff'),
        url('./fonts/TTDrugs-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Drugs';
    src: url('./fonts/TTDrugs-Light.woff2') format('woff2'),
        url('./fonts/TTDrugs-Light.woff') format('woff'),
        url('./fonts/TTDrugs-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Drugs Regular';
    src: url('./fonts/TTDrugs-Regular.woff2') format('woff2'),
        url('./fonts/TTDrugs-Regular.woff') format('woff'),
        url('./fonts/TTDrugs-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Drugs';
    src: url('./fonts/TTDrugs-ThinItalic.woff2') format('woff2'),
        url('./fonts/TTDrugs-ThinItalic.woff') format('woff'),
        url('./fonts/TTDrugs-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Brittany Signature';
    src: url('./fonts/BrittanySignatureRegular.woff2') format('woff2'),
        url('./fonts/BrittanySignatureRegular.woff') format('woff'),
        url('./fonts/BrittanySignatureRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FONTSPRING DEMO - The Seasons';
    src: url('./fonts/FONTSPRINGDEMO-TheSeasonsLightItalic.woff2') format('woff2'),
        url('./fonts/FONTSPRINGDEMO-TheSeasonsLightItalic.woff') format('woff'),
        url('./fonts/FONTSPRINGDEMO-TheSeasonsLightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'The Seasons Regular';
    src: url('./fonts/FONTSPRINGDEMO-TheSeasonsRegular.woff2') format('woff2'),
        url('./fonts/FONTSPRINGDEMO-TheSeasonsRegular.woff') format('woff'),
        url('./fonts/FONTSPRINGDEMO-TheSeasonsRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Drugs';
    src: url('./fonts/TTDrugs-Thin.woff2') format('woff2'),
        url('./fonts/TTDrugs-Thin.woff') format('woff'),
        url('./fonts/TTDrugs-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FONTSPRING DEMO - The Seasons';
    src: url('./fonts/FONTSPRINGDEMO-TheSeasonsLightRegular.woff2') format('woff2'),
        url('./fonts/FONTSPRINGDEMO-TheSeasonsLightRegular.woff') format('woff'),
        url('./fonts/FONTSPRINGDEMO-TheSeasonsLightRegular.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FONTSPRING DEMO - The Seasons';
    src: url('./fonts/FONTSPRINGDEMO-TheSeasonsBoldItalic.woff2') format('woff2'),
        url('./fonts/FONTSPRINGDEMO-TheSeasonsBoldItalic.woff') format('woff'),
        url('./fonts/FONTSPRINGDEMO-TheSeasonsBoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'FONTSPRING DEMO - The Seasons';
    src: url('./fonts/FONTSPRINGDEMO-TheSeasonsItalic.woff2') format('woff2'),
        url('./fonts/FONTSPRINGDEMO-TheSeasonsItalic.woff') format('woff'),
        url('./fonts/FONTSPRINGDEMO-TheSeasonsItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'FONTSPRING DEMO - The Seasons';
    src: url('./fonts/FONTSPRINGDEMO-TheSeasonsBold.woff2') format('woff2'),
        url('./fonts/FONTSPRINGDEMO-TheSeasonsBold.woff') format('woff'),
        url('./fonts/FONTSPRINGDEMO-TheSeasonsBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Optima';
    src: url('./fonts/Optima.woff2') format('woff2'),
        url('./fonts/Optima.woff') format('woff'),
        url('./fonts/Optima.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Drugs';
    src: url('./fonts/TTDrugs-BlackItalic.woff2') format('woff2'),
        url('./fonts/TTDrugs-BlackItalic.woff') format('woff'),
        url('./fonts/TTDrugs-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Drugs';
    src: url('./fonts/TTDrugs-Black.woff2') format('woff2'),
        url('./fonts/TTDrugs-Black.woff') format('woff'),
        url('./fonts/TTDrugs-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Drugs';
    src: url('./fonts/TTDrugs-BoldItalic.woff2') format('woff2'),
        url('./fonts/TTDrugs-BoldItalic.woff') format('woff'),
        url('./fonts/TTDrugs-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Drugs';
    src: url('./fonts/TTDrugs-Bold.woff2') format('woff2'),
        url('./fonts/TTDrugs-Bold.woff') format('woff'),
        url('./fonts/TTDrugs-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Slight';
    src: url('./fonts/Slight-Regular.woff2') format('woff2'),
        url('./fonts/Slight-Regular.woff') format('woff'),
        url('./fonts/Slight-Regular.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Drugs Condensed';
    src: url('./fonts/TTDrugsCondensed-Italic.woff2') format('woff2'),
        url('./fonts/TTDrugsCondensed-Italic.woff') format('woff'),
        url('./fonts/TTDrugsCondensed-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Drugs Condensed';
    src: url('./fonts/TTDrugsCondensed-BlackItalic.woff2') format('woff2'),
        url('./fonts/TTDrugsCondensed-BlackItalic.woff') format('woff'),
        url('./fonts/TTDrugsCondensed-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

body {
	background-color: #fdfbf7; /* Base color */
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.75" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100" height="100" filter="url(%23n)" opacity="0.03"/></svg>');
	color: #504056;
	font-family: serif;
	margin: 0;
}

/* .wedding-card{
	max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    background: white;
    border-radius: 3px;
    padding-bottom: 100px;
} */

.walimatulurus-title {
	font-family: 'Optima', sans-serif;
	font-size: 1.2rem;
	letter-spacing: 0.2em;
	margin-bottom: 2rem;
	margin-top: 1rem;
	color: #6d7b98;
}

.parents-names p {
	font-family:'Optima', sans-serif;
	font-size: 1.2rem;
	margin-bottom: 0.25rem;
	color: #ab7496;
}

#ampersand {
	font-family: 'TT Drugs Regular', sans-serif;
	font-size: 1.5rem;
	color: #7b578c;
	/* Accent color for ampersand */
}

.invitation-text {
	font-family: 'Optima', sans-serif;
	font-size: 1.25rem;
	color: #939477;
	/* Darker color for text */
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

.bride-groom-names h2 {
	font-family: "The Seasons Regular", "Brush Script Std", cursive;
	/* Example script font */
	font-size: 1.85rem;
	/* Adjust size as needed */
	color: #7b578c;
	/* Script font color */
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

.connecting-phrase {
	font-family: 'Brittany Signature', sans-serif;
	color: #ab7496;
	font-size: 1.1rem;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

.section-heading {
	font-family: 'Optima', sans-serif;
	font-weight: 800;
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
	color: #504056;
}

.section-details {
	font-family: 'Optima', sans-serif;
	font-size: 1rem;
	color: #939477;
	/* Darker color for text */
	margin-bottom: 0.5rem;
	line-height: 1.6;
}

.event-details p,
.turut-mengundang p,
.contact-info p {
	margin-bottom: 0.3rem;
}

.custom-hr {
	border: 0;
	height: 1px;
	background-image: linear-gradient(
		to right,
		rgba(123, 87, 140, 0),
		rgba(123, 87, 140, 0.75),
		rgba(123, 87, 140, 0)
	); 
	margin: 2rem auto;
	width: 70%;
}

.cover-section {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-start; /* Vertically center content */
	align-items: center; /* Horizontally center content */
	position: relative;
	overflow: hidden;
	text-align: center; /* Ensure text within is centered */

	/* --- SVG Background Properties --- */
	background-image: url("./images/floral-first-opt.svg"); /* ADJUST PATH HERE */
	background-size: cover; /* Scales the image to be as large as possible
								such that the background area is completely
								covered by the background image. Some parts
								 of the image may be clipped. */
	background-position: center center; /* Centers the image within the section */
	background-repeat: no-repeat; /* Prevents the image from tiling */
	/* Optional: if your page scrolls and you want the background to stay fixed: */
	/* background-attachment: fixed; */

	/* Fallback background color if the image doesn't load or for transparency in SVG */
	padding-top: 7vh;
	padding-bottom: 5vh;
	background-color: #fdfbf7;
}

.details-section {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-start; /* Vertically center content */
	align-items: center; /* Horizontally center content */
	position: relative;
	overflow: hidden;
	text-align: center; /* Ensure text within is centered */

	/* --- SVG Background Properties --- */
	background-image: url("./images/floral-second.svg"); /* ADJUST PATH HERE */
	background-size: cover; /* Scales the image to be as large as possible
								such that the background area is completely
								covered by the background image. Some parts
								 of the image may be clipped. */
	background-position: center center; /* Centers the image within the section */
	background-repeat: no-repeat; /* Prevents the image from tiling */
	/* Optional: if your page scrolls and you want the background to stay fixed: */
	/* background-attachment: fixed; */

	/* Fallback background color if the image doesn't load or for transparency in SVG */
	padding-top: 7vh;
	padding-bottom: 5vh;
	background-color: #fdfbf7;
}

/* @media (min-width: 768px) {
	.cover-section {
		background-position: center bottom; 
	}
} */

.cover-walimatul-urus {
	font-family: 'Optima', sans-serif;
	font-size: 1.2rem;
	letter-spacing: 0.3em;
	color: #6c757d;
	/* A slightly muted color */
	margin-top: 2rem;
	margin-bottom: 3rem;
	/* More space below this title */
}

.cover-names h1 {
	font-family: "Slight", cursive;
	font-size: 5rem;
	/* Large font size for names */
	color: #ab7496;
	/* Purple script color */
	margin: 0.5em 0;
	line-height: 1.1;
}

.cover-dan {
	font-family: "Georgia", serif;
	font-size: 1.5rem;
	color: #939477;
	/* Darker, non-script color */
	margin: 0.5rem 0;
}

.details-divider {
	border: none; /* Remove default HR border */
	height: 1px; /* Thickness of the line */
	background-color: #bb8391; /* Muted pink/purple color from image - adjust as needed */
	margin-top: 1rem; /* Space above the line */
	margin-bottom: 1rem; /* Space below the line */
	/* margin-left: auto; and margin-right: auto; are implicitly handled by text-center on parent for block elements with width */
}

.cover-details p {
	font-family: 'Optima', sans-serif;
	font-size: 1rem;
	color: #939477;
	margin-bottom: 0.2rem;
	line-height: 1.6;
}


/* Responsive font sizes for names */
@media (max-width: 768px) {
	.cover-names h1 {
		font-size: 3.5rem;
	}

	.cover-dan {
		font-size: 1.2rem;
	}

	.cover-walimatul-urus {
		margin-bottom: 2rem;
	}
}

@media (max-width: 576px) {
	.cover-names h1 {
		font-size: 2.8rem;
	}

	.cover-dan {
		font-size: 1rem;
	}
}